add ms headers to proxy

This commit is contained in:
2022-05-04 19:10:43 +02:00
parent 2776cfcadf
commit b9f37b2d5b
2 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ http {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-MS-Proxy webgateway.intra.tormakris.dev;
proxy_set_header X-MS-Forwarded-Client-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;