From cbde8decf3ee1224fef8e0cf90465fb1916aa550 Mon Sep 17 00:00:00 2001 From: Pavan Gupta Date: Tue, 10 Mar 2015 02:06:07 -0400 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23511f3..50f2ba3 100644 --- a/README.md +++ b/README.md @@ -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 / {