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.
这个提交存在于:
Pavan Gupta 2015-03-10 02:06:07 -04:00
父节点 a3e4f937b2
当前提交 cbde8decf3

查看文件

@ -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 / {