ansible-infra/playbooks/files/z9/configs/light/nginx/http_handler.conf

15 lines
280 B
Plaintext
Raw Normal View History

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location /.well-known/acme-challenge/ {
autoindex on;
root /webroot-for-acme-challenge;
}
location / {
return 301 https://$host$request_uri;
}
}