nginx config for proxy_pass to astra web
# 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
0 B
|👍
/👎
0 B
|👍
/👎