AdguardTeam / AdguardTeam/AdGuardHome

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

Aperta
#8,012 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.