Update reverse proxy configuration example for nginx
Old configuration example for nginx reverse proxy configuration works only partially on version 1.6.2. Browser is able to load Gerrit's host page but for javascript files it gets 404. With this small update to configuration everything works fine. Change-Id: Ie5de667e5df0e35984db10bf00187aa3d3068b33 Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
This commit is contained in:

committed by
David Pursehouse

parent
313091b5f6
commit
d5c3376ccc
@@ -99,7 +99,7 @@ as this one:
|
||||
listen 80;
|
||||
server_name review.example.com;
|
||||
|
||||
location /r/ {
|
||||
location ^~ /r/ {
|
||||
proxy_pass http://127.0.0.1:8081;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
|
Reference in New Issue
Block a user