Skip to content

Commit

Permalink
removing language directory from publicly served asset by nginx in sc…
Browse files Browse the repository at this point in the history
…aling docs
  • Loading branch information
julianlam committed May 19, 2016
1 parent cc0f9df commit 2218d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scaling/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Your Nginx config will need to be modified add the following ``location`` blocks
proxy_pass http://127.0.0.1:4567;
}

location ~ ^/(images|language|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) {
location ~ ^/(images|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) {
root /path/to/nodebb/public/;
try_files $uri $uri/ @nodebb;
}
Expand Down

0 comments on commit 2218d38

Please sign in to comment.