From dfa23a63e2a9f60f7a2887ac43b94ee8c258448a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 7 Feb 2021 16:33:47 +0100 Subject: Add pics.srv1 --- machines/srv1/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'machines/srv1/configuration.nix') diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index eebec00..e3d7748 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -66,6 +66,11 @@ in forceSSL = true; root = "/var/www/srv1.niedzwiedzinski.cyou"; }; + services.nginx.virtualHosts."pics.srv1.niedzwiedzinski.cyou" = { + enableACME = true; + forceSSL = true; + root = "/var/www/pics.srv1.niedzwiedzinski.cyou"; + }; services.nginx.virtualHosts."git.niedzwiedzinski.cyou" = { locations."/".proxyPass = "http://localhost:8080/cgit/"; locations."/cgit/".proxyPass = "http://localhost:8080"; -- cgit 1.4.1