Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx-proxy for homeassistant(ip:port access ok) #502

Open
lessfrim opened this issue Dec 5, 2023 · 5 comments
Open

nginx-proxy for homeassistant(ip:port access ok) #502

lessfrim opened this issue Dec 5, 2023 · 5 comments
Assignees
Labels
bug Type label, something isn't working

Comments

@lessfrim
Copy link

lessfrim commented Dec 5, 2023

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

@lessfrim lessfrim added the bug Type label, something isn't working label Dec 5, 2023
@lessfrim lessfrim changed the title complete docker compose for homeassitant complete docker compose for homeassistant Dec 5, 2023
@chendelin1982 chendelin1982 changed the title complete docker compose for homeassistant nginx-proxy for homeassistant Dec 25, 2023
@Websoft9 Websoft9 deleted a comment from lessfrim Dec 25, 2023
@Websoft9 Websoft9 deleted a comment from qiaofeng1227 Dec 25, 2023
@Websoft9 Websoft9 deleted a comment from qiaofeng1227 Dec 25, 2023
@qiaofeng1227 qiaofeng1227 changed the title nginx-proxy for homeassistant nginx-proxy for homeassistant(ip:port access ok) Jan 22, 2024
@qiaofeng1227
Copy link
Contributor

@zhaojing1987
Copy link
Contributor

@chendelin1982
Copy link
Contributor

test 0.0.0.0/0

@zhaojing1987
Copy link
Contributor

0.0.0.0/0 不行,还是需要一个确定的IP或者范围

@chendelin1982
Copy link
Contributor

use busybox container to do:

  • get gateway ip
  • change configure fil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type label, something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants