mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Merge 563942a986 into 0725afe1a9
This commit is contained in:
commit
39ddc5fe14
5
dist/nginx.conf
vendored
5
dist/nginx.conf
vendored
|
|
@ -66,6 +66,11 @@ 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)
|
||||
|
||||
location / {
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
|
||||
try_files $uri @mastodon;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user