From a92c155adb14e582a207017d5ba4953ad31c31e9 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 4 May 2021 14:05:00 +0200 Subject: Add ssl to yggdrasil site --- machines/srv1/configuration.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'machines/srv1/configuration.nix') diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index 6967c5c..79c1218 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -172,10 +172,12 @@ in root = "/var/www/niedzwiedzinski.cyou"; }; "y.niedzwiedzinski.cyou" = { + enableACME = true; + forceSSL = true; root = "/var/www/niedzwiedzinski.cyou"; - locations."/omick.net".proxyPass = "http://omick.net"; - locations."/suckless.org".proxyPass = "http://suckless.org"; - locations."/based.cooking".proxyPass = "http://based.cooking"; + locations."/omick.net".proxyPass = "http://omick.net/"; + locations."/suckless.org".proxyPass = "http://suckless.org/"; + locations."/based.cooking".proxyPass = "http://based.cooking/"; }; "zhr.niedzwiedzinski.cyou" = { -- cgit 1.4.1