Files
nginx/templates/status.conf.j2
Ludovic Cartier f1419d8052 various update
2025-11-10 11:41:54 +01:00

26 lines
508 B
Django/Jinja

server {
listen 127.0.0.1:{{ nginx_http_port }};
server_name _;
#access_log /var/log/nginx/localhost.access.log;
#error_log /var/log/nginx/localhost.error.log;
location ~ /.well-known/acme-challenge/ {
alias /var/www/challenges/;
try_files $uri =404;
allow 127.0.0.1;
deny all;
}
location /stub_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
location / {
deny all;
}
}