: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" } }