From f8d69428cd1d512247bb7fb3296b0833f23687fa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 14:55:32 +0100 Subject: ACME without ssl --- custom/ymir-nginx.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index a4a0b492..94e6f1ed 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -142,7 +142,11 @@ in { listen [::]:80; server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; - return 301 https://$host$request_uri; + include ${acme}; + + location / { + return 301 https://$host$request_uri; + } } server { -- cgit v1.2.3