about summary refs log tree commit diff
path: root/machines/srv1
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-04 14:05:00 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-04 14:05:00 +0200
commita92c155adb14e582a207017d5ba4953ad31c31e9 (patch)
tree5f6465d750574762c55196d37e0cf5d43c6f5119 /machines/srv1
parent0b9b74f19aefe71bdfa351aa7387174de0cfd520 (diff)
downloaddots-a92c155adb14e582a207017d5ba4953ad31c31e9.tar.gz
dots-a92c155adb14e582a207017d5ba4953ad31c31e9.zip
Add ssl to yggdrasil site
Diffstat (limited to 'machines/srv1')
-rw-r--r--machines/srv1/configuration.nix8
1 files changed, 5 insertions, 3 deletions
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" = {