nginx-proxy-manager-zh/docker/rootfs/etc/nginx/conf.d/default.conf
2023-03-08 08:37:43 +10:00

24 lines
593 B
Plaintext

# "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;
ssl_reject_handshake on;
return 444;
}