web: приложение React + Vite с Tailwind

Каркас web-приложения: Vite, Tailwind, ESLint, раздача статики через
Caddy, страница со
статусом и версией проекта.
This commit is contained in:
arswarog committed 2026-10-27 10:43:38 +03:00
1 parent efba11d83f
commit 94e5e09218
21 files changed
+1292

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
:80 {
respond /health 200 {
body "OK"
close
}
}
app.igeo.pro {
root * /app
encode gzip
# Обработка API
handle /api/* {
reverse_proxy api:5000
}
# Обработка остального (SPA)
handle {
try_files {path} /index.html
file_server
@static path *.js *.css *.woff *.woff2 *.svg *.png *.jpg *.jpeg *.gif *.ico
header @static Cache-Control "public, max-age=31536000, immutable"
}
}