about summary refs log tree commit diff
path: root/machines/srv1/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/srv1/configuration.nix')
-rw-r--r--machines/srv1/configuration.nix5
1 files changed, 5 insertions, 0 deletions
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";