Merge pull request 'fix(caddy): exempt /trade-in/_next/static/* (ui-preview CSS) (#801)' (#816) from chore/caddy-ui-preview-next-static into main
Some checks are pending
Some checks are pending
This commit is contained in:
commit
2ebfe2352d
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,9 @@ gendsgn.ru {
|
|||
# Реальных клиентских данных нет (статичная фикстура) → безопасно публично.
|
||||
# ДО auth-import: route матчит сверху вниз, handle short-circuit'ит.
|
||||
# Без strip — Next.js basePath=/trade-in ждёт префикс в URL (как @tradein).
|
||||
handle /trade-in/ui-preview/* {
|
||||
# ui-preview + его статика (_next/static — CSS/JS бандлы, без секретов).
|
||||
# Оба ДО auth-import, иначе ассеты страницы уходят в @tradein (под auth) → 401 → без CSS.
|
||||
handle /trade-in/ui-preview/* /trade-in/_next/static/* {
|
||||
reverse_proxy tradein-frontend:3000
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue