Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Unable to make my configuration work

$
0
0
Where you want to end up is root+location, your last uri will now be /etc/nginx/html/common/common

location ^~ /common/ {
root /etc/nginx/html/other;
}

=> /etc/nginx/html/other/common

location ^~ /another/ {
root /etc/nginx/html/other;
}

=> /etc/nginx/html/other/another

nb. When ending a location with .../ you need to enter the URL with an ending / as well.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>