ansible/snippets/mqtt2web-nginx.j2

11 lines
295 B
Django/Jinja

# mqtt2web nginx config snippet
location /mqtt/ {
proxy_pass http://localhost:8080/mqtt;
include proxy_params;
proxy_buffering off;
proxy_cache off;
proxy_http_version 1.1;
proxy_set_header Connection '';
chunked_transfer_encoding off;
}