Merge "Update reverse proxy configuration example for nginx"
This commit is contained in:
@@ -99,7 +99,7 @@ as this one:
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name review.example.com;
|
server_name review.example.com;
|
||||||
|
|
||||||
location /r/ {
|
location ^~ /r/ {
|
||||||
proxy_pass http://127.0.0.1:8081;
|
proxy_pass http://127.0.0.1:8081;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
Reference in New Issue
Block a user