Files
ansible-playbooks/roles/nginx/templates/vhost-http-acme.conf.j2
T
Clément Désiles aea450dc9d feat: nginx certbot
2026-05-29 21:26:17 +02:00

16 lines
327 B
Django/Jinja

# Temporary HTTP-only vhost for ACME certificate provisioning
# Managed by Ansible - automatically removed after certificate issuance
server {
listen 80;
server_name {{ certbot_hostname }};
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 503;
}
}