Update docker/resume/nginx.conf
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
6a6b69ae3e
commit
922f1c56ba
|
@ -1,14 +1,4 @@
|
||||||
worker_processes auto;
|
server {
|
||||||
pid /run/nginx.pid;
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
limit_req_zone $binary_remote_addr zone=default:10m rate=20r/s;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 8080 http2;
|
listen 8080 http2;
|
||||||
listen [::]:8080 http2;
|
listen [::]:8080 http2;
|
||||||
listen 8080 quic reuseport;
|
listen 8080 quic reuseport;
|
||||||
|
@ -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';
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue