0c12e3fc97
The .dev TLD has been HSTS preloaded in Chrome/Firefox/Safari/Edge since 2019. Browsers silently redirect http://anything.dev to https://anything.dev before making any network request. Since Caddy has auto_https off, all browser-based access to .dev domains fails with a connection error even though DNS, routing, and HTTP all work correctly (curl works; browsers don't). - cell_config.json: domain "dev" -> "lan" - Caddyfile: all http://*.dev blocks -> http://*.lan - Corefile: dev zone -> lan zone (file /data/lan.zone) - data/dns/lan.zone: new zone file (dev.zone removed live) - test_wg_domain_access.py: remove hardcoded DOMAIN_IPS / .dev references; read domain from /api/config at runtime so tests work with any configured TLD Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
379 B
JSON
22 lines
379 B
JSON
{
|
|
"_identity": {
|
|
"cell_name": "pic0",
|
|
"domain": "lan",
|
|
"ip_range": "172.20.0.0/16",
|
|
"wireguard_port": 51820
|
|
},
|
|
"_pending_restart": {
|
|
"needs_restart": false,
|
|
"changes": [],
|
|
"containers": [],
|
|
"network_recreate": false
|
|
},
|
|
"calendar": {
|
|
"port": 5233
|
|
},
|
|
"wireguard": {
|
|
"port": 51820,
|
|
"address": "",
|
|
"private_key": ""
|
|
}
|
|
} |