Merge pull request 'hotfix(caddy): @uipreview named matcher (fix prod-down crash-loop)' (#817) from hotfix/caddy-uipreview-named-matcher into main
All checks were successful
Deploy / changes (push) Successful in 5s
Deploy / build-backend (push) Successful in 26s
Deploy / build-frontend (push) Successful in 24s
Deploy / build-worker (push) Successful in 27s
Deploy / deploy (push) Successful in 56s

This commit is contained in:
lekss361 2026-05-30 18:52:11 +00:00
commit a48205391c

View file

@ -70,7 +70,8 @@ gendsgn.ru {
# Без strip — Next.js basePath=/trade-in ждёт префикс в URL (как @tradein).
# ui-preview + его статика (_next/static — CSS/JS бандлы, без секретов).
# Оба ДО auth-import, иначе ассеты страницы уходят в @tradein (под auth) → 401 → без CSS.
handle /trade-in/ui-preview/* /trade-in/_next/static/* {
@uipreview path /trade-in/ui-preview/* /trade-in/_next/static/*
handle @uipreview {
reverse_proxy tradein-frontend:3000
}