Compare commits

...

3 Commits

Author SHA1 Message Date
Shlee
39ddc5fe14
Merge 563942a986 into 0725afe1a9 2025-11-25 15:05:41 +00:00
Shlee
563942a986
Update nginx.conf 2025-09-22 01:42:38 +00:00
Shlee
8678ff03d5
Update nginx.conf 2025-09-22 01:16:48 +00:00

5
dist/nginx.conf vendored
View File

@ -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;