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.
这个提交存在于:
父节点
a3e4f937b2
当前提交
cbde8decf3
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -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 / {
|
||||
|
|
|
|||
正在加载…
添加表格
添加链接
在新工单中引用