diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 16:51:53 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 16:51:53 +0100 |
commit | 4d809c383b8669e8ab3c94529e514419a3e72a63 (patch) | |
tree | 282d486537422a10a5976f3083b3978c7219d4b8 /custom/ymir.nginx | |
parent | a91325ca41450a0e548e40e0f77ceee856dbd002 (diff) | |
download | nixos-4d809c383b8669e8ab3c94529e514419a3e72a63.tar nixos-4d809c383b8669e8ab3c94529e514419a3e72a63.tar.gz nixos-4d809c383b8669e8ab3c94529e514419a3e72a63.tar.bz2 nixos-4d809c383b8669e8ab3c94529e514419a3e72a63.tar.xz nixos-4d809c383b8669e8ab3c94529e514419a3e72a63.zip |
fixed (hopefully) redirect for letsencrypt
Diffstat (limited to 'custom/ymir.nginx')
-rw-r--r-- | custom/ymir.nginx | 12 |
1 files changed, 6 insertions, 6 deletions
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 { | |||
36 | listen [::]:80; | 36 | listen [::]:80; |
37 | server_name dirty-haskell.org www.dirty-haskell.org; | 37 | server_name dirty-haskell.org www.dirty-haskell.org; |
38 | 38 | ||
39 | location /.well-known/acme/ { | 39 | location /.well-known/acme-challenge/ { |
40 | proxy_pass http://192.168.0.2:80/.well-known/acme/; | 40 | proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; |
41 | } | 41 | } |
42 | 42 | ||
43 | root /srv/www/dirty-haskell.org; | 43 | root /srv/www/dirty-haskell.org; |
@@ -51,8 +51,8 @@ server { | |||
51 | ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; | 51 | ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; |
52 | ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; | 52 | ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; |
53 | 53 | ||
54 | location /.well-known/acme/ { | 54 | location /.well-known/acme-challenge/ { |
55 | proxy_pass http://192.168.0.2:80/.well-known/acme/; | 55 | proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; |
56 | } | 56 | } |
57 | 57 | ||
58 | root /srv/www/dirty-haskell.org; | 58 | root /srv/www/dirty-haskell.org; |
@@ -66,8 +66,8 @@ server { | |||
66 | ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; | 66 | ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; |
67 | ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; | 67 | ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; |
68 | 68 | ||
69 | location /.well-known/acme/ { | 69 | location /.well-known/acme-challenge/ { |
70 | proxy_pass http://192.168.0.2:80/.well-known/acme/; | 70 | proxy_pass http://192.168.0.2:80/.well-known/acme-challenge/; |
71 | } | 71 | } |
72 | 72 | ||
73 | root /srv/www/dirty-haskell.org; | 73 | root /srv/www/dirty-haskell.org; |