mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 17:45:50 +03:00
[GH-ISSUE #156] Add a server path option to proxy the asynqmon #37
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#37
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 @lufishggg on GitHub (Sep 17, 2021).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/156
For example there is an application running at port 3000, asynqmon running at port 3001. We want the path /asynqmon to proxy to port 3001, which now is impossible because of the path prefix unmatch.
@hibiken commented on GitHub (Sep 21, 2021):
@lufishggg thank you for opening this issue!
What are you using for reverse proxy? Also, would you mind giving more details on what's making things impossible?
@lufishggg commented on GitHub (Sep 22, 2021):
For example, I have an application which is used as a management platform, we call it A. There is a host like test.xxx.com. The nginx will proxy all requests whose path prefix is /admin to A. For example, test.xxx.com/admin/users/1, test.xxx.com/admin/factories. We want some paths to proxy to asynqmon, like test.xxx.com/admin/asynqmon/asynqmon/redis, ...
Why we need a path prefix '/admin'? Because those requests without path prefix will lead to another application B.
It likes that the asynqmon is a part of the management platform.
If we clone the project and we change the base path and server path, and then we build and deploy asynqmon, this may be done. But we think that adding the proxy path option is better, so we do not need to change the code of the project.
The server path has this advantage:
So the server path should be better to include all path that asynqmon provides, like /static, /api ... For example, if we add option(option or environment variable) like --server-path="/admin/asynqmon", all paths have this prefix. Maybe should change the build process of the react.
Thanks for consideration.
@flamedmg commented on GitHub (Sep 22, 2021):
I have the same issue, i tried to use asynqmon as a docker image and bind it to:

/asynqmon
Html loads just fine, but app requests all it's resources from the root
@hibiken commented on GitHub (Sep 23, 2021):
Ok let me looking into this in the coming weeks! If this is urgent, please feel free to open a PR!
@lufishggg commented on GitHub (Sep 26, 2021):
Thanks!
@nickxudotme commented on GitHub (Mar 13, 2023):
I met the same situation, is there any progress today?
@hellowords commented on GitHub (Dec 14, 2023):
add nginx location
@giangnh13579 commented on GitHub (Aug 4, 2024):
I'm in the same situation, is this available now
@jerrychan807 commented on GitHub (Jun 25, 2025):
+1
@jerrychan807 commented on GitHub (Jun 25, 2025):
u can try this. https://github.com/jerrychan807/asynqmon
Solution: