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

Qryn-view behind a reverse proxy #388

Closed
akvlad opened this issue Jan 4, 2024 · 2 comments
Closed

Qryn-view behind a reverse proxy #388

akvlad opened this issue Jan 4, 2024 · 2 comments
Assignees

Comments

@akvlad
Copy link
Contributor

akvlad commented Jan 4, 2024

Description of the feature you're suggesting.

According to the feature request metrico/qryn#414 the use asks for the base path of qryn-view to be configurable on startup of the http server serving the qryn-view.

It appears that qryn-view hardcodes it's base path to be / . Can we figure out some way to change it?

  • It can be a JS script injected into the index.html to redefine the base path.
  • It can be qryn-view functionality to figure out how it was requested.

Please keep in mind that base path should be applied to:

  • all the static files we include in the app
  • all the fake paths we use in the app: /plugins, /users, /datasources, /datasources/:ds

Anything else?

No response

@lmangani
Copy link
Contributor

I don't think the change should be in qryn-view itself but rather in the server hosting it.

@jacovinus
Copy link
Collaborator

  • all the fake paths we use in the app: /plugins, /users, /datasources, /datasources/:ds

We already solved the fake paths with the hash router

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants