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

12 lines
280 B
Text
Raw Normal View History

2022-05-22 19:15:23 +02:00
location / {
#Settings for mqtt server from outside
proxy_http_version 1.1;
2023-05-27 18:13:49 +02:00
proxy_pass http://localhost:__PORT_MQTT_WEBSOCKET__;
2022-05-22 19:15:23 +02:00
proxy_read_timeout 90;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}