4 ms·
That's clever. Coming from Apache I was disappointed not to see something equivalent to: a2ensite (site)
by dkokelley 13y ago
That's clever. Coming from Apache I was disappointed not to see something equivalent to: a2ensite (site)
- stayclassytally 13y agoWouldn'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?
- dkokelley 13y agoIt would be. That's exactly what a2ensite does. That's what I ended up doing.
- tmzt 13y agoYou can also use the Debian-style setup with sites-enabled/*, though I don't know of enable/disable scripts for nginx.
- pilif 13y agoThat's a debian feature. Not an Apache feature.