[GH-ISSUE #177] is nginx-ui suitable for switching between different reverse proxies for local app #4526

Closed
opened 2026-03-01 15:33:56 +03:00 by kerem · 1 comment
Owner

Originally created by @xblurx on GitHub (Oct 23, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/177

hi there, thank you for the great job on the app!

I am a little bit confused about whether or not nginx-ui is suitable for my use case / is there a feature that supports it:
I have a local application, that serves static files on localhost
There are different api servers, that are accessible within different domains, and I want to be able to switch between them.

Is that possible that for example in the one moment of time all of the app requests are being proxy_pass-ed to a1.domain.name, and all of the api locations include this domain, and after switch (or select) to another api domain, all requests are proxy_pass-ed to a2.domain.name, with all of locations include new domain.

Thanks in advance!

Originally created by @xblurx on GitHub (Oct 23, 2023). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/177 hi there, thank you for the great job on the app! I am a little bit confused about whether or not `nginx-ui` is suitable for my use case / is there a feature that supports it: I have a local application, that serves static files on localhost There are different api servers, that are accessible within different domains, and I want to be able to switch between them. Is that possible that for example in the one moment of time all of the app requests are being `proxy_pass`-ed to `a1.domain.name`, and all of the api `locations` include this domain, and after switch (or select) to another api domain, all requests are `proxy_pass`-ed to `a2.domain.name`, with all of `locations` include new domain. Thanks in advance!
kerem closed this issue 2026-03-01 15:33:56 +03:00
Author
Owner

@0xJacky commented on GitHub (Oct 24, 2023):

Hi, you can create two sites or create the first site which is proxy_passed to a1, then duplicate it and modify the content to make it proxy_passed to a2. So, you can easily switch between the two configurations by enabling one and disabling the other, meeting your requirements.

<!-- gh-comment-id:1776514689 --> @0xJacky commented on GitHub (Oct 24, 2023): Hi, you can create two sites or create the first site which is proxy_passed to a1, then duplicate it and modify the content to make it proxy_passed to a2. So, you can easily switch between the two configurations by enabling one and disabling the other, meeting your requirements.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#4526
No description provided.