mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 07:53:39 +00:00
enable ssl_early_data, default enable http2, option to enable brotli, fix shellcheck
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
@@ -27,13 +27,15 @@ http {
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
client_max_body_size 0;
|
||||
client_body_buffer_size 512k;
|
||||
|
||||
gzip on;
|
||||
gunzip on;
|
||||
gzip_vary on;
|
||||
gzip_types *;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 9;
|
||||
gunzip on;
|
||||
gzip_static on;
|
||||
|
||||
resolver localhost;
|
||||
fastcgi_index index.php;
|
||||
@@ -42,6 +44,7 @@ http {
|
||||
error_page 404 =307 $scheme://$host:$server_port;
|
||||
error_page 497 =301 https://$host:$server_port$request_uri;
|
||||
|
||||
proxy_read_timeout 86400s;
|
||||
proxy_headers_hash_max_size 1024;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
|
||||
@@ -89,7 +92,6 @@ http {
|
||||
set_real_ip_from fec0::/10;
|
||||
|
||||
include fastcgi.conf;
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
|
||||
include conf.d/include/ip_ranges.conf;
|
||||
|
||||
|
Reference in New Issue
Block a user