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,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 {
|
||||
listen 8080 http2;
|
||||
listen [::]:8080 http2;
|
||||
|
@ -34,10 +24,8 @@ http {
|
|||
}
|
||||
|
||||
location / {
|
||||
limit_req zone=default burst=30;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
add_header Alt-Svc 'h3-29=":8080"; ma=86400';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue