From d5600e008b265a0ec9048f7485572473fee313fa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 7 Nov 2015 21:17:38 +0100 Subject: ssl for dirty-haskell.org --- ymir.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ymir.nix b/ymir.nix index 532b9cf2..42db314c 100644 --- a/ymir.nix +++ b/ymir.nix @@ -208,6 +208,26 @@ in { root /srv/www/dirty-haskell.org; } + server { + listen *:443 ssl; + listen [::]:443 ssl; + server_name dirty-haskell.org; + + ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; + ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; + + root /srv/www/dirty-haskell.org; + server { + listen *:443 ssl; + listen [::]:443 ssl; + server_name www.dirty-haskell.org; + + ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; + ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; + + root /srv/www/dirty-haskell.org; + } + } ''; }; } -- cgit v1.2.3