Corrección Dockerfile
Deploy con Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
2026-05-31 12:12:56 -05:00
parent 027c36b15c
commit 617c4dedb6
4 changed files with 29 additions and 33 deletions
+7 -7
View File
@@ -39,8 +39,8 @@ http {
limit_req_zone $binary_remote_addr zone=general:10m rate=100r/s;
# Upstream to Next.js app
upstream enflow_app {
server enflow-app:3000;
upstream cirux_app {
server cirux-app:3000;
}
# ─── HTTP → HTTPS Redirect ───────────────────────────────────────────────
@@ -83,7 +83,7 @@ http {
# Proxy to Next.js
location / {
limit_req zone=general burst=50 nodelay;
proxy_pass http://enflow_app;
proxy_pass http://cirux_app;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
@@ -98,7 +98,7 @@ http {
# API routes with stricter rate limiting
location /api/ {
limit_req zone=api burst=20 nodelay;
proxy_pass http://enflow_app;
proxy_pass http://cirux_app;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@@ -108,20 +108,20 @@ http {
# Static files caching
location /_next/static/ {
proxy_pass http://enflow_app;
proxy_pass http://cirux_app;
proxy_cache_valid 200 365d;
add_header Cache-Control "public, immutable";
}
location /static/ {
proxy_pass http://enflow_app;
proxy_pass http://cirux_app;
proxy_cache_valid 200 365d;
add_header Cache-Control "public, immutable";
}
# WebSocket support for Supabase Realtime
location /realtime/ {
proxy_pass http://enflow_app;
proxy_pass http://cirux_app;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";