Update docker/resume/nginx.conf
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
colin 2024-11-11 22:15:11 -05:00
parent 6a6b69ae3e
commit 922f1c56ba
1 changed files with 24 additions and 36 deletions

View File

@ -1,13 +1,3 @@
worker_processes auto;
pid /run/nginx.pid;
events {
worker_connections 1024;
}
http {
limit_req_zone $binary_remote_addr zone=default:10m rate=20r/s;
server { server {
listen 8080 http2; listen 8080 http2;
listen [::]:8080 http2; listen [::]:8080 http2;
@ -34,10 +24,8 @@ http {
} }
location / { location / {
limit_req zone=default burst=30;
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }
add_header Alt-Svc 'h3-29=":8080"; ma=86400'; add_header Alt-Svc 'h3-29=":8080"; ma=86400';
} }
}