diff --git a/configuration.nix b/configuration.nix index 7fa0a4a..0c6a513 100644 --- a/configuration.nix +++ b/configuration.nix @@ -207,6 +207,9 @@ services.caddy = { enable = true; globalConfig = '' + servers { + protocols h1 h2 + } email "fresh.car0178@geemili.xyz" ''; @@ -216,6 +219,7 @@ ''; virtualHosts."headscale.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 192.168.0.69 [::] reverse_proxy localhost:64639 ''; @@ -225,6 +229,7 @@ ''; virtualHosts."git.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 192.168.0.69 [::] reverse_proxy localhost:3000 ''; @@ -233,7 +238,11 @@ ''; virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = '' - reverse_proxy unix/${config.services.phpfpm.pools.nextcloud.socket} + bind 100.64.0.3 192.168.0.69 [::] + php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket} { + root /zroot/nextcloud/data/ + capture_stderr + } ''; };