News for hackers. Stuff that matters.
Re:Nginx for Developers: An Introduction by dkokelley on Wednesday June 19, 2013 @01:54PM (#5907059)
That's clever. Coming from Apache I was disappointed not to see something equivalent to: a2ensite (site)
Re:Nginx for Developers: An Introduction by stayclassytally on Wednesday June 19, 2013 @02:53PM (#5907444)
Wouldn't it be kind of trivial to right a function to would take a directory name as a parameter and symlink it from site-available to site-enabled?
Re:Nginx for Developers: An Introduction by dkokelley on Friday June 21, 2013 @12:30PM (#5919037)
It would be. That's exactly what a2ensite does. That's what I ended up doing.
Re:Nginx for Developers: An Introduction by pilif on Thursday June 20, 2013 @02:58AM (#5910632)
That's a debian feature. Not an Apache feature.
Re:Nginx for Developers: An Introduction by tmzt on Wednesday June 19, 2013 @03:11PM (#5907561)
You can also use the Debian-style setup with sites-enabled/*, though I don't know of enable/disable scripts for nginx.