From e53da90160beb8818e4805edc746ef38a9275e05 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Fri, 26 Jan 2024 20:46:26 +0100 Subject: [PATCH] Enable standalone nginx/certbox config --- inventories/chaosknoten/host_vars/lists.yaml | 1 - inventories/chaosknoten/host_vars/mumble.yaml | 1 - playbooks/roles/nginx/files/redirect.conf | 4 ++++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inventories/chaosknoten/host_vars/lists.yaml b/inventories/chaosknoten/host_vars/lists.yaml index 402bdce..2175571 100644 --- a/inventories/chaosknoten/host_vars/lists.yaml +++ b/inventories/chaosknoten/host_vars/lists.yaml @@ -5,7 +5,6 @@ certbot__version_spec: "" certbot__acme_account_email_address: j+letsencrypt-ccchh@jsts.xyz certbot__certificate_domains: - "lists.hamburg.ccc.de" -certbot__http_01_port: 80 nginx__version_spec: "" nginx__configurations: diff --git a/inventories/chaosknoten/host_vars/mumble.yaml b/inventories/chaosknoten/host_vars/mumble.yaml index bac0005..5545878 100644 --- a/inventories/chaosknoten/host_vars/mumble.yaml +++ b/inventories/chaosknoten/host_vars/mumble.yaml @@ -5,7 +5,6 @@ certbot__version_spec: "" certbot__acme_account_email_address: j+letsencrypt-ccchh@jsts.xyz certbot__certificate_domains: - "mumble.hamburg.ccc.de" -certbot__http_01_port: 80 nginx__version_spec: "" nginx__configurations: diff --git a/playbooks/roles/nginx/files/redirect.conf b/playbooks/roles/nginx/files/redirect.conf index 9ca67c8..b120666 100644 --- a/playbooks/roles/nginx/files/redirect.conf +++ b/playbooks/roles/nginx/files/redirect.conf @@ -7,4 +7,8 @@ server { location / { return 301 https://$host$request_uri; } + + location /.well-known/acme-challenge/ { + proxy_pass http://127.0.0.1:31820/.well-known/acme-challenge/; + } }