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

Using path prefix in http_external_uri does not work. #21015

Open
dennisoelkers opened this issue Nov 21, 2024 · 0 comments
Open

Using path prefix in http_external_uri does not work. #21015

dennisoelkers opened this issue Nov 21, 2024 · 0 comments

Comments

@dennisoelkers
Copy link
Member

Expected Behavior

When http_external_uri contains a path, it should be used to prefix resources.

Current Behavior

When http_external_uri contains a path, it will not be considered for web assets. E.g. when http://localhost:9000/graylog/ is configured, fetching http://localhost:9000/graylog/config.js will return the placeholder file and not config.js. It will still be served on /config.js.

Possible Solution

Strip away the configured path of the base URL in WebInterfaceAssetsResource before looking up files.

Steps to Reproduce (for bugs)

Context

Your Environment

  • Graylog Version:
  • Java Version:
  • OpenSearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants