From a1fd996c72a985c0ac749ab8c3b935fb93a4fb53 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 17 Nov 2015 15:31:42 +0100 Subject: nginx reverse proxy --- custom/ymir.nginx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/custom/ymir.nginx b/custom/ymir.nginx index 1fb0afcb..ef303ef2 100644 --- a/custom/ymir.nginx +++ b/custom/ymir.nginx @@ -48,6 +48,10 @@ server { ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; root /srv/www/dirty-haskell.org; + + location /.well-known/acme/ { + proxy_pass http://192.168.0.2:80/.well-known/acme/; + }; } server { @@ -59,4 +63,8 @@ server { ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; root /srv/www/dirty-haskell.org; + + location /.well-known/acme/ { + proxy_pass http://192.168.0.2:80/.well-known/acme/; + }; } -- cgit v1.2.3