summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-07 21:17:38 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-07 21:17:38 +0100
commitd5600e008b265a0ec9048f7485572473fee313fa (patch)
tree87c99a26e2c6b9553571ddba11ca3fdab0948482 /ymir.nix
parent7b599507537554f12f780a6437651b01cd50342f (diff)
downloadnixos-d5600e008b265a0ec9048f7485572473fee313fa.tar
nixos-d5600e008b265a0ec9048f7485572473fee313fa.tar.gz
nixos-d5600e008b265a0ec9048f7485572473fee313fa.tar.bz2
nixos-d5600e008b265a0ec9048f7485572473fee313fa.tar.xz
nixos-d5600e008b265a0ec9048f7485572473fee313fa.zip
ssl for dirty-haskell.org
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 532b9cf2..42db314c 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -208,6 +208,26 @@ in {
208 208
209 root /srv/www/dirty-haskell.org; 209 root /srv/www/dirty-haskell.org;
210 } 210 }
211 server {
212 listen *:443 ssl;
213 listen [::]:443 ssl;
214 server_name dirty-haskell.org;
215
216 ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem;
217 ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem;
218
219 root /srv/www/dirty-haskell.org;
220 server {
221 listen *:443 ssl;
222 listen [::]:443 ssl;
223 server_name www.dirty-haskell.org;
224
225 ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem;
226 ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem;
227
228 root /srv/www/dirty-haskell.org;
229 }
230 }
211 ''; 231 '';
212 }; 232 };
213} 233}