mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 23:43:36 +00:00
@@ -10,7 +10,7 @@
|
||||
listen 443 quic;
|
||||
listen [::]:443 quic;
|
||||
|
||||
more_set_headers "Alt-Svc: h3=':443'; ma=86400";
|
||||
more_set_headers 'Alt-Svc: h3=":443"; ma=86400';
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% unless hsts_subdomains %}
|
||||
|
@@ -10,6 +10,7 @@ server {
|
||||
|
||||
listen 443 quic reuseport default_server;
|
||||
listen [::]:443 quic reuseport default_server;
|
||||
more_set_headers 'Alt-Svc: h3=":443"; ma=86400';
|
||||
|
||||
server_name _;
|
||||
|
||||
@@ -18,8 +19,6 @@ server {
|
||||
include conf.d/include/tls-ciphers.conf;
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
add_header Alt-Svc 'h3=":443"; ma=86400';
|
||||
http3 on;
|
||||
|
||||
#ssl_certificate ;
|
||||
#ssl_certificate_key ;
|
||||
|
@@ -326,6 +326,7 @@ find /data/nginx -type f -name '*.conf' -exec sed -i "s|\(listen .*\) http3|\1 q
|
||||
find /data/nginx -type f -name '*.conf' -exec sed -i "s|quic reuseport;|quic;|g" {} \;
|
||||
find /data/nginx -type f -name '*.conf' -exec sed -i "s|security_headers on;|include conf.d/include/hsts.conf;|g" {} \;
|
||||
sed -i "s|quic default_server|quic reuseport default_server|g" /data/nginx/default.conf
|
||||
find /data/nginx -type f -name '*.conf' -exec sed -i "s|more_set_headers \"Alt-Svc: h3=':443'; ma=86400\";|more_set_headers 'Alt-Svc: h3=\":443\"; ma=86400';|g" {} \;
|
||||
|
||||
find /data/nginx -type f -name '*.conf' -exec sed -i "s|/data/access|/data/nginx/access|g" {} \;
|
||||
find /data/nginx -type f -name '*.conf' -exec sed -i "s|/data/nginx/access|/data/etc/access|g" {} \;
|
||||
|
@@ -10,6 +10,7 @@ server {
|
||||
|
||||
listen 443 quic reuseport default_server;
|
||||
listen [::]:443 quic reuseport default_server;
|
||||
more_set_headers 'Alt-Svc: h3=":443"; ma=86400';
|
||||
|
||||
server_name _;
|
||||
|
||||
@@ -18,8 +19,6 @@ server {
|
||||
include conf.d/include/tls-ciphers.conf;
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
add_header Alt-Svc 'h3=":443"; ma=86400';
|
||||
http3 on;
|
||||
|
||||
#ssl_certificate ;
|
||||
#ssl_certificate_key ;
|
||||
|
Reference in New Issue
Block a user