diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-07 21:17:38 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-07 21:17:38 +0100 |
commit | d5600e008b265a0ec9048f7485572473fee313fa (patch) | |
tree | 87c99a26e2c6b9553571ddba11ca3fdab0948482 /ymir.nix | |
parent | 7b599507537554f12f780a6437651b01cd50342f (diff) | |
download | nixos-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.nix | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 | } |