1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00
domoticz_ynh/conf/mqtt_nginx.conf
2023-05-27 18:13:49 +02:00

11 lines
280 B
Text

location / {
#Settings for mqtt server from outside
proxy_http_version 1.1;
proxy_pass http://localhost:__PORT_MQTT_WEBSOCKET__;
proxy_read_timeout 90;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}