mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 16:03:38 +00:00
28
rootfs/usr/local/nginx/conf/conf.d/no-server-name.conf
Normal file
28
rootfs/usr/local/nginx/conf/conf.d/no-server-name.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
server {
|
||||
listen 81 ssl http2;
|
||||
listen 81 http3;
|
||||
|
||||
listen [::]:81 ssl http2;
|
||||
listen [::]:81 http3;
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
listen 443 http3;
|
||||
listen [::]:443 http3;
|
||||
|
||||
server_name "";
|
||||
return 444;
|
||||
|
||||
include conf.d/include/force-ssl.conf;
|
||||
include conf.d/include/ssl-ciphers.conf;
|
||||
include conf.d/include/letsencrypt-acme-challenge.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
add_header alt-svc 'h3=":443"; ma=86400, h3-29=":443"; ma=86400';
|
||||
|
||||
ssl_certificate /data/nginx/dummycert.pem;
|
||||
ssl_certificate_key /data/nginx/dummykey.pem;
|
||||
}
|
Reference in New Issue
Block a user