Open lessfrim opened 7 months ago
chatgpt give below
location / { proxy_pass http://$server:8123; # 假设 Home Assistant 在本地主机的 8123 端口上运行 proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
I can not used now, need more research
https://community.home-assistant.io/t/reverse-proxy-using-nginx/196954
https://www.home-assistant.io/integrations/http#reverse-proxies
test 0.0.0.0/0
0.0.0.0/0 不行,还是需要一个确定的IP或者范围
use busybox container to do:
chatgpt give below
I can not used now, need more research