Files
triton_files/snippets/letsencrypt.conf
2018-06-28 15:57:14 +02:00

12 lines
213 B
Nginx Configuration File

# -*-nginx-*-
location /.well-known/ {
default_type "text/plain";
root /var/www/html;
}
location = /.well-known/acme-challenge/ {
return 404;
}
location / {
return 301 https://$host$request_uri;
}