qryn icon indicating copy to clipboard operation
qryn copied to clipboard

[Feature request] Frontend behind a reverse proxy

Open tr11 opened this issue 1 year ago • 4 comments

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.

tr11 avatar Dec 20 '23 16:12 tr11

@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 avatar Dec 20 '23 17:12 lmangani

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.

tr11 avatar Dec 20 '23 17:12 tr11

@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 ,?

akvlad avatar Jan 02 '24 10:01 akvlad

@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!

tr11 avatar Jan 02 '24 15:01 tr11