diff --git a/ansible/roles/nginx/templates/transitous.conf.j2 b/ansible/roles/nginx/templates/transitous.conf.j2 index 64810c87..38b90dc7 100644 --- a/ansible/roles/nginx/templates/transitous.conf.j2 +++ b/ansible/roles/nginx/templates/transitous.conf.j2 @@ -49,6 +49,11 @@ server { charset UTF-8; + # For certbot + location ^~ /.well-known/acme-challenge/ { + root /var/www/html/; + } + # MOTIS Web Interface location / { root /opt/motis/ui/;