diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 16:33:47 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 16:33:47 +0100 |
commit | dfa23a63e2a9f60f7a2887ac43b94ee8c258448a (patch) | |
tree | 7a2fce0931c1aded8215e62b42f718926c15710c /machines/srv1/configuration.nix | |
parent | 892925f75b69bdc9e7b592e577f74e6c0f7c8936 (diff) | |
download | dots-dfa23a63e2a9f60f7a2887ac43b94ee8c258448a.tar.gz dots-dfa23a63e2a9f60f7a2887ac43b94ee8c258448a.zip |
Add pics.srv1
Diffstat (limited to 'machines/srv1/configuration.nix')
-rw-r--r-- | machines/srv1/configuration.nix | 5 |
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"; |