nginx-proxy-manager-zh/docker/rootfs/etc/nginx/conf.d/default.conf

24 lines
593 B
Plaintext
Raw Normal View History

# "You are not configured" page, which is the default if another default doesn't exist
server {
listen 80 default;
server_name localhost;
include conf.d/include/acme-challenge.conf;
include conf.d/include/block-exploits.conf;
access_log /data/logs/default.log proxy;
location / {
index index.html;
root /var/www/html;
}
}
# First 443 Host, which is the default if another default doesn't exist
server {
listen 443 ssl default;
server_name localhost;
include conf.d/include/block-exploits.conf;
access_log /data/logs/default.log proxy;
2023-03-07 17:37:43 -05:00
ssl_reject_handshake on;
return 444;
}