Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dkokelley
· 13y ago · 0 comments
That's clever. Coming from Apache I was disappointed not to see something equivalent to: a2ensite (site)
Comments
[–]
stayclassytally
13y ago
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?
[–]
dkokelley
OP
13y ago
It would be. That's exactly what a2ensite does. That's what I ended up doing.
[–]
pilif
13y ago
That's a debian feature. Not an Apache feature.
[–]
tmzt
13y ago
You can also use the Debian-style setup with sites-enabled/*, though I don't know of enable/disable scripts for nginx.