mirror of
https://github.com/BillyOutlast/drop-cdn.git
synced 2026-02-04 02:51:20 +01:00
24 lines
732 B
Plaintext
24 lines
732 B
Plaintext
client_max_body_size 0;
|
|
client_body_buffer_size 128k;
|
|
|
|
#Timeout if the real server is dead
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
|
|
|
# Advanced Proxy Config
|
|
send_timeout 5m;
|
|
proxy_read_timeout 240;
|
|
proxy_send_timeout 240;
|
|
proxy_connect_timeout 240;
|
|
proxy_headers_hash_bucket_size 128;
|
|
proxy_headers_hash_max_size 1024;
|
|
# Basic Proxy Config
|
|
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 https;
|
|
#proxy_redirect http:// $scheme://;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Connection "";
|
|
proxy_cache_bypass $cookie_session;
|
|
proxy_no_cache $cookie_session;
|
|
proxy_buffers 128 4k; |