vstrandmoe commited on
Commit
47076af
·
1 Parent(s): 2dc0cba
Files changed (1) hide show
  1. 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 $host;
10
  }
11
 
12
  location /api/ {
13
  proxy_pass https://durinn-concept-explorer.azurewebsites.net/api/;
14
- proxy_set_header Host $host;
15
- proxy_set_header X-Forwarded-For $remote_addr;
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
  }