mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #177] is nginx-ui suitable for switching between different reverse proxies for local app #5870
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#5870
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-uiis 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 toa1.domain.name, and all of the apilocationsinclude this domain, and after switch (or select) to another api domain, all requests areproxy_pass-ed toa2.domain.name, with all oflocationsinclude new domain.Thanks in advance!
@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.