diff options
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 32707ee6..4c3880ce 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -117,9 +117,14 @@ in { | |||
117 | 117 | ||
118 | server { | 118 | server { |
119 | listen *:80; | 119 | listen *:80; |
120 | listen *:443 ssl; | ||
120 | listen [::]:80; | 121 | listen [::]:80; |
122 | listen [::]:443 ssl; | ||
121 | server_name git.yggdrasil.li www.git.yggdrasil.li; | 123 | server_name git.yggdrasil.li www.git.yggdrasil.li; |
122 | 124 | ||
125 | ssl_certificate /etc/nginx/ssl/$server_name/fullchain.pem; | ||
126 | ssl_certificate_key /etc/nginx/ssl/$server_name/privkey.pem; | ||
127 | |||
123 | root ${pkgs.cgit}/cgit; | 128 | root ${pkgs.cgit}/cgit; |
124 | 129 | ||
125 | try_files $uri @cgit; | 130 | try_files $uri @cgit; |