Make absolute symlinks for sites-enabled in Nginx

published Nov 11, 2014 03:40   by admin ( last modified Feb 23, 2015 01:03 )

(Debian 7) When symlinking virtual host files from sites-available to sites-enabled, it seems you need to be careful of how that symlink actually points to its target.

When I used relative paths nginx did not seem to be able to pick up on the target file. The default file in sites-enabled is a symlink with a full path.