mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 21:17:15 +03:00
- handle CORS within nginx - remove allow-headers from CORS - add custom dynamic error pages - remove unused fastcgi - removed OPTIONS backend - remove previous custom errorDirective - moved proxy directives to appropiate file
12 lines
468 B
Plaintext
12 lines
468 B
Plaintext
proxy_redirect off;
|
|
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 Connection "";
|
|
client_max_body_size 10m;
|
|
client_body_buffer_size 128k;
|
|
proxy_connect_timeout 10;
|
|
proxy_send_timeout 10;
|
|
proxy_read_timeout 10;
|
|
proxy_buffers 32 4k;
|
|
proxy_http_version 1.1; |