Skip to content

Commit

Permalink
Merge pull request #780 from brenner-tobias/log-streaming
Browse files Browse the repository at this point in the history
Restrict live log nginx location
  • Loading branch information
elcajon authored Jan 31, 2025
2 parents 50d6832 + 100c8cd commit f391f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflared/rootfs/etc/nginx/template/nginx.conf.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ http {
proxy_set_header X-Forwarded-Host $http_host;
}

location ~ /api/hassio/.*/logs {
location ~ /api/hassio/.*/logs.*/follow {
proxy_pass http://homeassistant:{{ .port }};
proxy_set_header Host $http_host;
proxy_http_version 1.1;
Expand Down

0 comments on commit f391f4e

Please sign in to comment.