HelloZeroNet / HelloZeroNet/ZeroNet

Multiple IP connections?

未关闭
#2,085 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

So basically, i found the `ui_ip` config
Like. Holly hell the docs have LITTERALLY NEXT TO NOTHING ON THE CONFIG FILE

But i want to beable to access the service from both of these IP's,

`192.168.0.103`, which is the LAN ip (reserved) for the host machine
`127.0.0.1`, Self explanitory

but i can only ever get it to work on ONE of those connections.

Current config
```
[global]
ui_ip = 192.168.0.103
```

# edit:
Also, how would one do a reverse proxy? I tried to do something like that, and the system gave me the login screen (that plugin) and accepted my `ui_password` config, but then gave me this
```
Forbidden
Invalid host: zeronet.example.com
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

未指定文件、测试或入口点。首先定位 ui_ip 的配置处理以及会产生“Invalid host”的主机验证;确定绑定列出的两个 IP 并支持反向代理主机名是否是预期行为,然后记录或实现已达成一致的行为,并验证两种访问路径。

由索引模型根据 Issue 内容生成。

评估

领域
networking
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
15/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。