and_cesbo icon

nginx config for proxy_pass to astra web

and_cesbo | PRO | 09/04/19 12:25:00 PM UTC | 0 ⭐ | 8972 👁️ | Never ⏰ | []
Nginx |

480 B

|

None

|

0 👍

/

0 👎

# Works with Astra 5.65 and newer
# 192.168.1.1:8000 - host and port to Astra web interface
 
server {
    listen 443;
    listen [::]:443;
 
    server_name astra.example.com;
 
    location /control/event/ {
        proxy_http_version 1.1;
        proxy_pass http://192.168.1.1:8000/control/event/;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
 
    location / {
        proxy_pass http://192.168.1.1:8000;
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎