fix: some services were not binding correctly

Some of them still aren't. I've also disabled http/3 because there seems
to be a bug in the QUIC implementation.
main
LeRoyce Pearson 2024-01-06 19:19:08 -07:00
parent c102645202
commit 0f09208680
1 changed files with 10 additions and 1 deletions

View File

@ -207,6 +207,9 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
globalConfig = '' globalConfig = ''
servers {
protocols h1 h2
}
email "fresh.car0178@geemili.xyz" email "fresh.car0178@geemili.xyz"
''; '';
@ -216,6 +219,7 @@
''; '';
virtualHosts."headscale.samsehu.perli.casa".extraConfig = '' virtualHosts."headscale.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69 [::]
reverse_proxy localhost:64639 reverse_proxy localhost:64639
''; '';
@ -225,6 +229,7 @@
''; '';
virtualHosts."git.samsehu.perli.casa".extraConfig = '' virtualHosts."git.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69 [::]
reverse_proxy localhost:3000 reverse_proxy localhost:3000
''; '';
@ -233,7 +238,11 @@
''; '';
virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = '' 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
}
''; '';
}; };