-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add a server path option to proxy the asynqmon #156
Comments
@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? |
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. |
Ok let me looking into this in the coming weeks! If this is urgent, please feel free to open a PR! |
Thanks! |
I met the same situation, is there any progress today? |
add nginx location
|
I'm in the same situation, is this available now |
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.
The text was updated successfully, but these errors were encountered: