Nginx enable site command

Ghassen Telmoudi asked:

We all know how to enable a website using apache on linux.
I’m pretty sure that we all agree on using the a2ensite command.

Unfortunately there is no default equivalent command comes with Nginx, but it did happens that I installed some package on ubuntu that allowed me to enable/disable sites and list them.

The problem is I don’t remember the name of this package.

Anybody knows what I’m talking about?

Please tell me name of this package and the command name.

Update:

Go straight to answer the script is there just run it and everything is well explained.

My answer:


Are you referring to nginx_ensite and nginx_dissite?


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.