about summary refs log tree commit diff
path: root/machines/srv1/configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-07 16:33:47 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-07 16:33:47 +0100
commitdfa23a63e2a9f60f7a2887ac43b94ee8c258448a (patch)
tree7a2fce0931c1aded8215e62b42f718926c15710c /machines/srv1/configuration.nix
parent892925f75b69bdc9e7b592e577f74e6c0f7c8936 (diff)
downloaddots-dfa23a63e2a9f60f7a2887ac43b94ee8c258448a.tar.gz
dots-dfa23a63e2a9f60f7a2887ac43b94ee8c258448a.zip
Add pics.srv1
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";