diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-02-02 16:40:47 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-02-02 16:40:47 +0100 |
commit | 501e7feaef8d8b93a507193b1ea1ab97a899de21 (patch) | |
tree | ef2875662854a70261e0e9d4187e8ad7ea49857a /machines/srv3 | |
parent | 84adc681875042f0d22686e29dbd4359be5fde29 (diff) | |
download | dots-501e7feaef8d8b93a507193b1ea1ab97a899de21.tar.gz dots-501e7feaef8d8b93a507193b1ea1ab97a899de21.zip |
Remove gemini
Diffstat (limited to 'machines/srv3')
-rw-r--r-- | machines/srv3/.configuration.nix.swp | bin | 24576 -> 0 bytes | |||
-rw-r--r-- | machines/srv3/configuration.nix | 36 |
2 files changed, 2 insertions, 34 deletions
diff --git a/machines/srv3/.configuration.nix.swp b/machines/srv3/.configuration.nix.swp deleted file mode 100644 index 9555fb3..0000000 --- a/machines/srv3/.configuration.nix.swp +++ /dev/null Binary files differdiff --git a/machines/srv3/configuration.nix b/machines/srv3/configuration.nix index f2ee31d..60fe2ef 100644 --- a/machines/srv3/configuration.nix +++ b/machines/srv3/configuration.nix @@ -70,7 +70,7 @@ in services.sshguard = { enable = true; whitelist = [ - "192.168.0.0/18" + "192.168.1.0/24" ]; }; @@ -113,16 +113,6 @@ in forceSSL = true; root = "${www}/pics.niedzwiedzinski.cyou"; }; - "rss.srv3.niedzwiedzinski.cyou" = { - enableACME = true; - forceSSL = true; - extraConfig = '' - modsecurity_rules ' - SecRuleEngine On - SecRule ARGS:u "@rx life[-_]*hack(s)?" "id:1234,deny,status:403" - '; - ''; - }; "tmp.niedzwiedzinski.cyou" = { enableACME = true; addSSL = true; @@ -160,31 +150,9 @@ in security.acme.defaults.email = "pniedzwiedzinski19@gmail.com"; security.acme.acceptTerms = true; - networking.firewall.allowedTCPPorts = [ 53 80 443 config.services.molly-brown.settings.Port ]; + networking.firewall.allowedTCPPorts = [ 53 80 443 ]; networking.firewall.allowedUDPPorts = [ 53 ]; - services.molly-brown = { - hostName = "niedzwiedzinski.cyou"; - enable = true; - certPath = "/var/lib/acme/niedzwiedzinski.cyou/cert.pem"; - keyPath = "/var/lib/acme/niedzwiedzinski.cyou/key.pem"; - docBase = "${www}/niedzwiedzinski.cyou"; - }; - - systemd = { - services.molly-brown.serviceConfig.SupplementaryGroups = [ config.security.acme.certs."niedzwiedzinski.cyou".group ]; - }; - - services.rss-bridge = { - enable = true; - virtualHost = "rss.srv3.niedzwiedzinski.cyou"; - whitelist = [ - "Instagram" - "Soundcloud" - "Facebook" - ]; - }; - users = { users = { pn = { |