Skip to content

Proxito: allow overlapping public and external version domains #10260

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

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Apr 19, 2023

During development we use overlapping domains:

  • devthedocs.org
  • build.devthedocs.org

Basically now the suspicious hostname checks are done after the public and external version domains have been tried, and before resolving a custom domain.

Closes #10241

During development we use overlapping domains:

- devthedocs.org
- build.devthedocs.org

Closes #10241
@stsewd stsewd requested a review from a team as a code owner April 19, 2023 18:00
@stsewd stsewd requested a review from benjaoming April 19, 2023 18:00
@stsewd stsewd requested a review from humitos April 19, 2023 18:01
@benjaoming
Copy link
Contributor

@stsewd is this an alternative to #10241 ?

@stsewd
Copy link
Member Author

stsewd commented Apr 19, 2023

@stsewd is this an alternative to #10241 ?

yeah, it is

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this work 🙏🏼

Comment on lines +458 to +459
# Serve from the RTD_EXTERNAL_VERSION_DOMAIN, ensuring it looks like
# `project--version.RTD_EXTERNAL_VERSION_DOMAIN`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good comment! 💯

@stsewd stsewd merged commit fdff2a6 into main Apr 20, 2023
@stsewd stsewd deleted the allow-overlapping-public-external-domains branch April 20, 2023 15:28
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

Successfully merging this pull request may close these issues.

3 participants