Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement