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:
parent
a3e4f937b2
commit
cbde8decf3
1 changed files with 1 additions and 1 deletions
|
@ -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 / {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue