AdguardTeam / AdguardTeam/AdGuardHome

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

Đang mở
#8,012 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.