diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/srv3/configuration.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/machines/srv3/configuration.nix b/machines/srv3/configuration.nix index 73c20db..8438826 100644 --- a/machines/srv3/configuration.nix +++ b/machines/srv3/configuration.nix @@ -29,7 +29,7 @@ in }; hostName = "srv3"; extraHosts = '' - 192.168.1.136 srv3.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou zhr.niedzwiedzinski.cyou help.niedzwiedzinski.cyou niedzwiedzinski.cyou pics.niedzwiedzinski.cyou + 192.168.1.136 srv3.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou zhr.niedzwiedzinski.cyou help.niedzwiedzinski.cyou niedzwiedzinski.cyou pics.niedzwiedzinski.cyou fresh.niedzwiedzinski.cyou 192.168.1.144 srv2.niedzwiedzinski.cyou '' + lib.readFile ( pkgs.fetchurl { url = "https://raw.githubusercontent.com/StevenBlack/hosts/d2be343994aacdec74865ff8d159cf6e46359adf/alternates/fakenews-gambling-porn/hosts"; @@ -81,6 +81,15 @@ in ]; }; + services.freshrss = { + enable = true; + virtualHost = "fresh.niedzwiedzinski.cyou"; + baseUrl = "https://fresh.niedzwiedzinski.cyou"; + authType = "form"; + defaultUser = "admin"; + passwordFile = "/fresh/passwd"; + }; + services.nginx.enable = true; services.nginx.additionalModules = with pkgs.nginxModules; [ modsecurity ]; services.nginx.appendHttpConfig = '' @@ -153,6 +162,10 @@ in forceSSL = true; root = "${www}/niedzwiedzinski.cyou/help"; }; + "fresh.niedzwiedzinski.cyou" = { + enableACME = true; + forceSSL = true; + }; }; security.acme.defaults.email = "pniedzwiedzinski19@gmail.com"; security.acme.acceptTerms = true; |