diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-04 14:05:00 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-04 14:05:00 +0200 |
commit | a92c155adb14e582a207017d5ba4953ad31c31e9 (patch) | |
tree | 5f6465d750574762c55196d37e0cf5d43c6f5119 /machines/srv1/configuration.nix | |
parent | 0b9b74f19aefe71bdfa351aa7387174de0cfd520 (diff) | |
download | dots-a92c155adb14e582a207017d5ba4953ad31c31e9.tar.gz dots-a92c155adb14e582a207017d5ba4953ad31c31e9.zip |
Add ssl to yggdrasil site
Diffstat (limited to 'machines/srv1/configuration.nix')
-rw-r--r-- | machines/srv1/configuration.nix | 8 |
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" = { |