zefie

snippets/proxy_common.conf

Aug 1st, 2020 (edited)
930
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. proxy_http_version 1.1;
  2. proxy_buffering off;
  3. proxy_set_header Host $host;
  4. proxy_set_header Forwarded "$proxy_add_forwarded;proto=$scheme";
  5. proxy_set_header X-Forwarded-Host $host:$server_port;
  6. proxy_set_header X-Forwarded-Server $host;
  7. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  8. proxy_set_header X-Forwarded-Proto $scheme;
Add Comment
Please, Sign In to add comment