mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 15:33:32 +00:00
@@ -1,8 +1,9 @@
|
||||
user root;
|
||||
daemon off;
|
||||
pcre_jit on;
|
||||
error_log stderr warn;
|
||||
worker_processes auto;
|
||||
error_log stderr;
|
||||
worker_cpu_affinity auto;
|
||||
|
||||
# Custom
|
||||
include /data/nginx/custom/root.conf;
|
||||
@@ -46,6 +47,7 @@ http {
|
||||
|
||||
http2 on;
|
||||
http3 on;
|
||||
quic_gso on;
|
||||
quic_retry on;
|
||||
ssl_dyn_rec_enable on;
|
||||
|
||||
@@ -60,9 +62,6 @@ http {
|
||||
proxy_headers_hash_max_size 1024;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=one:10m rate=180r/s;
|
||||
limit_req zone=one burst=1800;
|
||||
|
||||
map $upstream_http_content_security_policy $content_security_policy {
|
||||
default $upstream_http_content_security_policy;
|
||||
'' "upgrade-insecure-requests";
|
||||
|
Reference in New Issue
Block a user