Commit
·
47076af
1
Parent(s):
2dc0cba
add host
Browse files- nginx.conf +3 -3
nginx.conf
CHANGED
|
@@ -6,13 +6,13 @@ http {
|
|
| 6 |
|
| 7 |
location / {
|
| 8 |
proxy_pass https://durinn-concept-explorer.azurewebsites.net/;
|
| 9 |
-
proxy_set_header Host
|
| 10 |
}
|
| 11 |
|
| 12 |
location /api/ {
|
| 13 |
proxy_pass https://durinn-concept-explorer.azurewebsites.net/api/;
|
| 14 |
-
proxy_set_header Host
|
| 15 |
-
proxy_set_header X-Forwarded-For
|
| 16 |
}
|
| 17 |
}
|
| 18 |
}
|
|
|
|
| 6 |
|
| 7 |
location / {
|
| 8 |
proxy_pass https://durinn-concept-explorer.azurewebsites.net/;
|
| 9 |
+
proxy_set_header Host durinn-concept-explorer.azurewebsites.net;
|
| 10 |
}
|
| 11 |
|
| 12 |
location /api/ {
|
| 13 |
proxy_pass https://durinn-concept-explorer.azurewebsites.net/api/;
|
| 14 |
+
proxy_set_header Host durinn-concept-explorer.azurewebsites.net;
|
| 15 |
+
proxy_set_header X-Forwarded-For 127.0.0.1;
|
| 16 |
}
|
| 17 |
}
|
| 18 |
}
|