From 4d809c383b8669e8ab3c94529e514419a3e72a63 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 17 Nov 2015 16:51:53 +0100 Subject: fixed (hopefully) redirect for letsencrypt --- custom/ymir.nginx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'custom/ymir.nginx') diff --git a/custom/ymir.nginx b/custom/ymir.nginx index 62750d8f..3b10438b 100644 --- a/custom/ymir.nginx +++ b/custom/ymir.nginx @@ -36,8 +36,8 @@ server { listen [::]:80; server_name dirty-haskell.org www.dirty-haskell.org; - location /.well-known/acme/ { - proxy_pass http://192.168.0.2:80/.well-known/acme/; + location /.well-known/acme-challenge/ { + proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; } root /srv/www/dirty-haskell.org; @@ -51,8 +51,8 @@ server { ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; - location /.well-known/acme/ { - proxy_pass http://192.168.0.2:80/.well-known/acme/; + location /.well-known/acme-challenge/ { + proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; } root /srv/www/dirty-haskell.org; @@ -66,8 +66,8 @@ server { ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; - location /.well-known/acme/ { - proxy_pass http://192.168.0.2:80/.well-known/acme/; + location /.well-known/acme-challenge/ { + proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; } root /srv/www/dirty-haskell.org; -- cgit v1.2.3