Created
April 11, 2019 23:51
-
-
Save 100daysofdevops/492709783455c5a34f86f2f8852e8216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proxy_redirect default; | |
| proxy_http_version 1.1; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; | |
| proxy_max_temp_file_size 0; | |
| #this is the maximum upload size | |
| client_max_body_size 10m; | |
| client_body_buffer_size 128k; | |
| proxy_connect_timeout 90; | |
| proxy_send_timeout 90; | |
| proxy_read_timeout 90; | |
| proxy_buffering off; | |
| proxy_request_buffering off; # Required for HTTP CLI commands in Jenkins > 2.54 | |
| proxy_set_header Connection ""; # Clear for keepalive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment