2020-02-18 23:55:06 -05:00
|
|
|
# "You are not configured" page, which is the default if another default doesn't exist
|
|
|
|
server {
|
2022-05-11 18:47:31 -04:00
|
|
|
listen 80 default;
|
|
|
|
server_name localhost;
|
|
|
|
include conf.d/include/acme-challenge.conf;
|
2020-02-18 23:55:06 -05:00
|
|
|
include conf.d/include/block-exploits.conf;
|
2022-05-11 18:47:31 -04:00
|
|
|
access_log /data/logs/default.log proxy;
|
2020-02-18 23:55:06 -05:00
|
|
|
|
|
|
|
location / {
|
|
|
|
index index.html;
|
|
|
|
root /var/www/html;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# First 443 Host, which is the default if another default doesn't exist
|
|
|
|
server {
|
2022-05-11 18:47:31 -04:00
|
|
|
listen 443 ssl default;
|
2020-02-18 23:55:06 -05:00
|
|
|
server_name localhost;
|
2022-05-11 18:47:31 -04:00
|
|
|
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;
|
2020-02-18 23:55:06 -05:00
|
|
|
include conf.d/include/ssl-ciphers.conf;
|
|
|
|
|
|
|
|
return 444;
|
|
|
|
}
|