111
Browse files- nginx.conf +8 -0
nginx.conf
CHANGED
@@ -22,6 +22,14 @@ http {
|
|
22 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
23 |
proxy_pass http://localhost:7777/;
|
24 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
error_page 500 502 503 504 /50x.html;
|
26 |
location = /50x.html {
|
27 |
root html;
|
|
|
22 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
23 |
proxy_pass http://localhost:7777/;
|
24 |
}
|
25 |
+
|
26 |
+
location /user/ {
|
27 |
+
proxy_set_header Host $http_host;
|
28 |
+
proxy_set_header X-Real-IP $remote_addr;
|
29 |
+
proxy_set_header REMOTE-HOST $remote_addr;
|
30 |
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
31 |
+
proxy_pass http://localhost:7000/;
|
32 |
+
}
|
33 |
error_page 500 502 503 504 /50x.html;
|
34 |
location = /50x.html {
|
35 |
root html;
|