1111
Browse files- nginx.conf +8 -0
nginx.conf
CHANGED
@@ -30,6 +30,14 @@ http {
|
|
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;
|
|
|
30 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
31 |
proxy_pass http://localhost:7000/;
|
32 |
}
|
33 |
+
location /nas/ {
|
34 |
+
proxy_set_header Host $http_host;
|
35 |
+
proxy_set_header X-Real-IP $remote_addr;
|
36 |
+
proxy_set_header REMOTE-HOST $remote_addr;
|
37 |
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
38 |
+
proxy_pass http://localhost:5000/;
|
39 |
+
}
|
40 |
+
|
41 |
error_page 500 502 503 504 /50x.html;
|
42 |
location = /50x.html {
|
43 |
root html;
|