fix: don't bind to wildcard ipv6 address

main
LeRoyce Pearson 2024-01-06 19:31:23 -07:00
parent 0f09208680
commit 808d47b0f1
1 changed files with 6 additions and 6 deletions

View File

@ -207,9 +207,9 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
globalConfig = '' globalConfig = ''
servers { # servers {
protocols h1 h2 # protocols h1 h2
} # }
email "fresh.car0178@geemili.xyz" email "fresh.car0178@geemili.xyz"
''; '';
@ -219,7 +219,7 @@
''; '';
virtualHosts."headscale.samsehu.perli.casa".extraConfig = '' virtualHosts."headscale.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69 [::] bind 100.64.0.3 192.168.0.69
reverse_proxy localhost:64639 reverse_proxy localhost:64639
''; '';
@ -229,7 +229,7 @@
''; '';
virtualHosts."git.samsehu.perli.casa".extraConfig = '' virtualHosts."git.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69 [::] bind 100.64.0.3 192.168.0.69
reverse_proxy localhost:3000 reverse_proxy localhost:3000
''; '';
@ -238,7 +238,7 @@
''; '';
virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = '' virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69 [::] bind 100.64.0.3 192.168.0.69
php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket} { php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket} {
root /zroot/nextcloud/data/ root /zroot/nextcloud/data/
capture_stderr capture_stderr