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

[Feature request] Frontend behind a reverse proxy #414

Open
tr11 opened this issue Dec 20, 2023 · 4 comments
Open

[Feature request] Frontend behind a reverse proxy #414

tr11 opened this issue Dec 20, 2023 · 4 comments
Labels
enhancement New feature or request feature request help wanted Extra attention is needed

Comments

@tr11
Copy link

tr11 commented Dec 20, 2023

It'd be great to have an environment variable to allow serving the UI under a different base url so it plays better with nginx or some other reverse proxy.

@lmangani
Copy link
Collaborator

lmangani commented Dec 20, 2023

@tr11 good point, we might add this to the options but this it technically already possible: qryn-view is completely independent from qryn itself and only bundled for extra joy of demo & testing. The webapp is static and only a client to the API so you can serve it from any service of your preference, or even directly by nginx 😉 it's so simple we host our demo on github pages.

@lmangani lmangani added enhancement New feature or request help wanted Extra attention is needed feature request labels Dec 20, 2023
@tr11
Copy link
Author

tr11 commented Dec 20, 2023

Thanks for the quick reply. We are already doing exactly that by building the view project with the subpath we need. It's more for convenience having everything in the same docker image.

@akvlad
Copy link
Collaborator

akvlad commented Jan 2, 2024

@tr11 a bit of clarification:
do you want a special configuration like ADVANCED_UI_BASE=/view for the bundled view to open in http://.../view ,?

@tr11
Copy link
Author

tr11 commented Jan 2, 2024

@akvlad, yes, that would be perfect. That would allow us to serve the UI easily under the same monitoring subpaths we use for other tools!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants