summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-17 15:31:42 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-17 15:31:42 +0100
commita1fd996c72a985c0ac749ab8c3b935fb93a4fb53 (patch)
tree67858b71adf67d8a6e126cf1b43d4b470d9142f4
parentb685216cf2239966dfae224282e790d9dc13b5e5 (diff)
downloadnixos-a1fd996c72a985c0ac749ab8c3b935fb93a4fb53.tar
nixos-a1fd996c72a985c0ac749ab8c3b935fb93a4fb53.tar.gz
nixos-a1fd996c72a985c0ac749ab8c3b935fb93a4fb53.tar.bz2
nixos-a1fd996c72a985c0ac749ab8c3b935fb93a4fb53.tar.xz
nixos-a1fd996c72a985c0ac749ab8c3b935fb93a4fb53.zip
nginx reverse proxy
-rw-r--r--custom/ymir.nginx8
1 files changed, 8 insertions, 0 deletions
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 {
48 ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; 48 ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem;
49 49
50 root /srv/www/dirty-haskell.org; 50 root /srv/www/dirty-haskell.org;
51
52 location /.well-known/acme/ {
53 proxy_pass http://192.168.0.2:80/.well-known/acme/;
54 };
51} 55}
52 56
53server { 57server {
@@ -59,4 +63,8 @@ server {
59 ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; 63 ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem;
60 64
61 root /srv/www/dirty-haskell.org; 65 root /srv/www/dirty-haskell.org;
66
67 location /.well-known/acme/ {
68 proxy_pass http://192.168.0.2:80/.well-known/acme/;
69 };
62} 70}