Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Created July 2, 2020 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AysadKozanoglu/5960b7d5f3117232ce381d77a8108f9b to your computer and use it in GitHub Desktop.
Save AysadKozanoglu/5960b7d5f3117232ce381d77a8108f9b to your computer and use it in GitHub Desktop.
location / {
proxy_pass https://example.de;
proxy_http_version 1.1;
proxy_set_header Accept-Encoding "";
proxy_set_header Cache-Control no-cache;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header X-Real-IP $remote_addr;
proxy_ssl_server_name on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment