AdguardTeam / AdguardTeam/AdGuardHome

Allow http.address list entry for multiple web interface listen addresses

未關閉
#8,012 3 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

I can't add more than one listen interface (e.g. local network + vpn or something similar)

I am running AGH on a VPS and want to be able to access it on port 3000 at only: 1. via localhost:3000, 2. via a VPN with a CIDR of, say, 10.9.0.0/24:3000, and 3. via the VPS's LAN IP CIDR, say, 192.168.99.0/24:3000.

But if I move the address down to a list:
```
http:
address: 0.0.0.0:3000
```
to
```
http:
address:
- 0.0.0.0:3000
```
it errors out, whether it's one line or 3.

### Proposed solution

ideally i'd like to do this:
```
http:
address:
- 127.0.0.1:3000
- 192.168.99.0/24:3000
- 10.9.0.0/24:3000
```

### Alternatives considered and additional information

I leave it open to everyone with 0.0.0.0:3000 but then disable my proxy server (caddy) and just deal.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。