diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 14:53:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 14:53:47 +0100 |
commit | 371b00a23efa3081975b36666418558193b31361 (patch) | |
tree | d906a1494d4e99cabe6fe90a7602118ac1070028 | |
parent | 2faf437cc5c14ac5bcc9effd5c962145d05d8e3c (diff) | |
download | nixos-371b00a23efa3081975b36666418558193b31361.tar nixos-371b00a23efa3081975b36666418558193b31361.tar.gz nixos-371b00a23efa3081975b36666418558193b31361.tar.bz2 nixos-371b00a23efa3081975b36666418558193b31361.tar.xz nixos-371b00a23efa3081975b36666418558193b31361.zip |
Fix typos
-rw-r--r-- | custom/ymir-nginx.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 0d0ed8ce..a4a0b492 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -138,16 +138,16 @@ in { | |||
138 | } | 138 | } |
139 | 139 | ||
140 | server { | 140 | server { |
141 | server *:80; | 141 | listen *:80; |
142 | server [::]:80; | 142 | listen [::]:80; |
143 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; | 143 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; |
144 | 144 | ||
145 | return 301 https://$host$request_uri; | 145 | return 301 https://$host$request_uri; |
146 | } | 146 | } |
147 | 147 | ||
148 | server { | 148 | server { |
149 | server *:443 ssl; | 149 | listen *:443 ssl; |
150 | server [::]:443 ssl; | 150 | listen [::]:443 ssl; |
151 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; | 151 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; |
152 | 152 | ||
153 | include ${acme}; | 153 | include ${acme}; |