301 from www to apex

This commit is contained in:
tanshu committed 2026-10-13 12:18:44 +00:00
1 parent 56d1cfda7a
commit 4a3863a809
2 files changed
+16 -4

No files matched your search

+4 -1
View File
@@ -8,6 +8,8 @@ tag: latest
host_directory: "/var/lib/{{ title }}"
# apex is the canonical origin and serves the app; www 301-redirects to it
apex_host: "mozimo.in"
www_host: "www.mozimo.in"
www_port: 3000
cms_host: "cms.mozimo.in"
@@ -30,7 +32,8 @@ vince_admin_password: "ChangeMe-Vince-2025!"
vince_site_domain: mozimo.in
stats_host: stats.mozimo.in
# caddy publishes www (SSR + /api/* + /_/* -> pocketbase) and cms (admin)
# caddy publishes the apex site (SSR + /api/* + /_/* -> pocketbase), redirects
# www to it, and publishes the cms admin host
caddy_container: caddy
caddyfile_path: /var/lib/caddy/conf/Caddyfile