nginx static content location root fixed

I just played with this and nginx is keeping the **/static/** in the requesting url and then attempting to find a folder on the file system that looks like **/full/path/to/realms/static/static/...**

This should fix that.
This commit is contained in:
Pavan Gupta 2015-03-10 02:06:07 -04:00
parent a3e4f937b2
commit cbde8decf3

View file

@ -126,7 +126,7 @@ Put the following sample configuration in that file.
# Settings to by-pass for static files
location ^~ /static/ {
# Example:
root /full/path/to/realms/static/;
root /full/path/to/realms/;
}
location / {