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

15 lines
281 B
Plaintext

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;
}
}