server {
    server_name tx.local;

    # Sitio web de Produccion
    location / {
        proxy_pass http://localhost:3021;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        client_max_body_size 5M;
        proxy_cache_bypass $http_upgrade;
    }

    # Sitio web de Mantenimiento
    #location / {
    #    root /var/www/working-web;
    #    index index.html;
    #    try_files $uri $uri/ /index.html;
    #    #Desactivar caché en los navegadores
    #    add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0";
    #    add_header Pragma "no-cache" always;
    #    add_header Expires 0 always;
    #}
}