Tag Info

Hot answers tagged

2

With / in front of the directory, you need to use full path from the root of the server. For example: root /var/www/test/a/; Without the /, it will use the path specified during compile time with the --prefix option for the prefix for the root directive. You should also use alias directive inside location blocks, that doesn't cause issues with location ...



Only top voted, non community-wiki answers of a minimum length are eligible