ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

commit b4bb41cc362dbc0228bacc0b16a3ce7e8c76e75a
parent 66f60c399e8b6364ac26be9adc760eee0e10d98b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 27 Apr 2025 16:57:48 +0200

try to fix nginx config

Diffstat:
Mroles/monitoring/templates/etc/nginx/sites-available/monitoring-http.conf.j2 | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/roles/monitoring/templates/etc/nginx/sites-available/monitoring-http.conf.j2 b/roles/monitoring/templates/etc/nginx/sites-available/monitoring-http.conf.j2 @@ -10,7 +10,12 @@ server { location ^~ /.well-known/acme-challenge/ { default_type "text/plain"; - root /var/www/letsencrypt/monitoring; + root /var/www/letsencrypt; + } + + # Hide /acme-challenge subdirectory and return 404 on all requests. + location = /.well-known/acme-challenge/ { + return 404; } location / {