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

28 lines
708 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;
ssl_certificate /etc/ssl/certs/dummycert.pem;
ssl_certificate_key /etc/ssl/certs/dummykey.pem;
include conf.d/include/ssl-ciphers.conf;
return 444;
}