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

Allow customisation of base path #51

Open
Limess opened this issue Oct 24, 2019 · 3 comments
Open

Allow customisation of base path #51

Limess opened this issue Oct 24, 2019 · 3 comments
Labels
enhancement New feature or request Stale triage

Comments

@Limess
Copy link

Limess commented Oct 24, 2019

Current behaviour

When trying to host DBT documentation on a non-top level path the docs site looks for a few files at the root path

e.g.

Hosting the index.html file at https://my-internal-domain.com/dbt
The docs fail to load due to requesting https://my-internal-domain.com/catalog.json

Expected behaviour

Allow customisation of the base url so JSON file requests resolve from the given url, e.g https://my-internal-domain.com/dbt/catalog.json.

Workaround

For now we're fixing this by explicitly proxying .json files generated by DBT to the path we expose the dbt documentation on:

location ~ ^/(catalog|run_results|manifest)\.json$ {
  rewrite ^/(.*)$ /dbt/$1;
}
@drewbanin drewbanin added this to the 0.15.0 milestone Nov 6, 2019
@jtcohen6 jtcohen6 removed this from the 0.15.0 milestone Feb 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2022

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.

@fdroessler
Copy link

Is there any chance something like this could happen?

@github-actions github-actions bot added the triage label Dec 4, 2023
@dbeatty10 dbeatty10 removed the Stale label Jun 1, 2024
@dbeatty10 dbeatty10 reopened this Jun 1, 2024
@dbeatty10 dbeatty10 added the enhancement New feature or request label Jun 1, 2024
Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale triage
Projects
None yet
Development

No branches or pull requests

5 participants