mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 07:53:39 +00:00
allow to disable ipv6/custom ip bindings/custom backend port binding
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
server {
|
||||
listen 81 ssl http2;
|
||||
listen 81 quic;
|
||||
|
||||
listen [::]:81 ssl http2;
|
||||
listen [::]:81 quic;
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
|
21
rootfs/usr/local/nginx/conf/conf.d/npm-no-server-name.conf
Normal file
21
rootfs/usr/local/nginx/conf/conf.d/npm-no-server-name.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen bep ssl http2;
|
||||
listen bep quic;
|
||||
|
||||
listen [::]:bep ssl http2;
|
||||
listen [::]:bep quic;
|
||||
|
||||
server_name "";
|
||||
return 444;
|
||||
|
||||
include conf.d/include/brotli.conf;
|
||||
include conf.d/include/force-tls.conf;
|
||||
include conf.d/include/tls-ciphers.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
add_header alt-svc 'h3=":443"; ma=86400, h3-29=":443"; ma=86400';
|
||||
http3 on;
|
||||
|
||||
#ssl_certificate ;
|
||||
#ssl_certificate_key ;
|
||||
#ssl_trusted_certificate ;
|
||||
}
|
@@ -1,9 +1,9 @@
|
||||
server {
|
||||
listen 81 ssl http2 default_server;
|
||||
listen 81 quic default_server;
|
||||
listen bep ssl http2 default_server;
|
||||
listen bep quic default_server;
|
||||
|
||||
listen [::]:81 ssl http2 default_server;
|
||||
listen [::]:81 quic default_server;
|
||||
listen [::]:bep ssl http2 default_server;
|
||||
listen [::]:bep quic default_server;
|
||||
add_header alt-svc 'h3=":443"; ma=86400, h3-29=":443"; ma=86400';
|
||||
http3 on;
|
||||
|
||||
|
Reference in New Issue
Block a user