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

14 lines
281 B
Text

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