mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 10:00:50 +00:00
Update nginx.conf
This commit is contained in:
parent
854aaec6fe
commit
8678ff03d5
7
dist/nginx.conf
vendored
7
dist/nginx.conf
vendored
|
|
@ -65,6 +65,13 @@ server {
|
|||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/rss+xml text/javascript image/svg+xml image/x-icon;
|
||||
gzip_static on;
|
||||
|
||||
# Fix "upstream sent too big header while reading response header from upstream" and similar (Large headers).
|
||||
proxy_buffer_size 16k; # (default 8k)
|
||||
proxy_buffers 8 16k; # (default 8 8k)
|
||||
proxy_busy_buffers_size 32k; # (default 8k|16k)
|
||||
client_header_buffer_size 2k; # Inbound headers/cookies (default 1k)
|
||||
large_client_header_buffers 4 16k; # (default 4 8k)
|
||||
|
||||
location / {
|
||||
try_files $uri @proxy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user