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

WireGuard config behind Nginx reverse proxy #1534

Open
UdoChudo opened this issue Dec 24, 2024 · 0 comments
Open

WireGuard config behind Nginx reverse proxy #1534

UdoChudo opened this issue Dec 24, 2024 · 0 comments
Labels
question Further information is requested

Comments

@UdoChudo
Copy link

UdoChudo commented Dec 24, 2024

i'm setup my panel to works behind my Nginx servers on location domain.name/panel/
In panel i setup SSL certs, locations,ports and what ever and all work. But when i generate WireGuard config i got wrong Endpoint adress to connect.
My panel host and nginx host are two diffirent servers and i don't want install Nginx on Panel host
Example
My Nginx: domain.name/panel/
Panel: aa.bb.com:54321

What i want
Address: aa.bb.com
Port: 31964

What i got
Address: domain.name
Port: 31964

In all Inbounds i can setup Listen IP but when i do that, i can't configure more flexible Endpoints because it's fixed to IP not hostname
Is it possible to configure using hostname instead IP in WG connection additionaly ?

Upd. Additional question, is it possible to generate WG config through api ?

@UdoChudo UdoChudo added the question Further information is requested label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant