about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-05 18:32:46 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-05 18:32:46 +0200
commit90bd94a7bf4e396c04817fb762b25459c16cd245 (patch)
tree6bd5139eb2ea50b9b0681fb4dc24455228a90add /machines
parent8a82f2e17bcc677217b8aa0f5430a078994d40d3 (diff)
downloaddots-90bd94a7bf4e396c04817fb762b25459c16cd245.tar.gz
dots-90bd94a7bf4e396c04817fb762b25459c16cd245.zip
Add help.niedzwiedzinski.cyou
Diffstat (limited to 'machines')
-rw-r--r--machines/srv1/configuration.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix
index 13f7f49..d13b054 100644
--- a/machines/srv1/configuration.nix
+++ b/machines/srv1/configuration.nix
@@ -32,7 +32,7 @@ in
 
     networking.hostName = "srv1";
     networking.extraHosts = ''
-      192.168.1.136 srv1.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou zhr.niedzwiedzinski.cyou niedzwiedzinski.cyou
+      192.168.1.136 srv1.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou zhr.niedzwiedzinski.cyou help.niedzwiedzinski.cyou niedzwiedzinski.cyou
     '' + pkgs.stdenv.lib.readFile ( pkgs.fetchurl {
       url = "https://raw.githubusercontent.com/StevenBlack/hosts/d2be343994aacdec74865ff8d159cf6e46359adf/alternates/fakenews-gambling-porn/hosts";
       sha256 = "1la5rd0znc25q8yd1iwbx22zzqi6941vyzmgar32jx568j856s8j";
@@ -191,6 +191,11 @@ in
       forceSSL = true;
       root = "/var/www/zhr.niedzwiedzinski.cyou";
     };
+    "help.niedzwiedzinski.cyou" = {
+      enableACME = true;
+      forceSSL = true;
+      root = "/var/www/niedzwiedzinski.cyou/help";
+    };
   };
   security.acme.email = "pniedzwiedzinski19@gmail.com";
   security.acme.acceptTerms = true;