aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-10-02 11:42:46 +0200
committerschererleander <leander@schererleander.de>2025-10-02 11:42:46 +0200
commit347ba82ba4e992e5c71ddfb0fba9e24da52b3851 (patch)
treef732247de757f380444a87fb42dd3c3f360a561f /hosts
parentfa12223225fef5f9415423ac5b13276503702918 (diff)
fix nginx
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sachiel/configuration.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix
index 90d9a1c..fe04128 100644
--- a/hosts/sachiel/configuration.nix
+++ b/hosts/sachiel/configuration.nix
@@ -59,7 +59,7 @@
services.fail2ban = {
enable = true;
- bantime = "1h";
+ bantime = "1h";
jails = {
sshd = {
enabled = true;
@@ -114,6 +114,7 @@
locations = {
"/" = {
tryFiles = "$uri $uri/ /index.html";
+ default = true;
};
};
};
@@ -121,15 +122,6 @@
forceSSL = true;
enableACME = true;
};
- virtualHosts."*.schererleander.de" = {
- forceSSL = true;
- enableACME = true;
- locations = {
- "/" = {
- return = "200";
- };
- };
- };
};
services.nextcloud = {