kiwi/docker
pyr0ball e11f91e14d fix: nginx /kiwi/ alias for direct port access
Vite builds with VITE_BASE_URL=/kiwi so assets are referenced as
/kiwi/assets/... in index.html. When accessed via Caddy at the /kiwi
path, Caddy strips the prefix and nginx gets /assets/... correctly.
When accessed directly at localhost:8515, nginx had no /kiwi/ route
so the JS/CSS 404'd and the SPA never booted (blank page on hard refresh).

Add location ^~ /kiwi/ { alias ...; } — ^~ prevents the regex
\.(js|css|...)$ location from intercepting /kiwi/ paths first.
2026-04-01 17:06:59 -07:00
..
web fix: nginx /kiwi/ alias for direct port access 2026-04-01 17:06:59 -07:00