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

fix: multiple subdomain gateways on same domain #8556

Merged
merged 1 commit into from
Nov 23, 2021
Merged

fix: multiple subdomain gateways on same domain #8556

merged 1 commit into from
Nov 23, 2021

Conversation

mathew-cf
Copy link
Contributor

Having multiple gateways on the same domain currently results in the subdomain returning 404.

For example, with two gateways (gateway.example.com and dev.gateway.example.com), dev.gateway.example.com would return 404 rather than functioning as a separate gateway.

@welcome

This comment has been minimized.

@Stebalien Stebalien requested a review from lidel November 21, 2021 17:01
@lidel lidel changed the title Fix subdomain gateway logic to allow multiple gateways on same domain fix: multiple subdomain gateways on same domain Nov 21, 2021
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

Thanks, this looks sensible: will make it easier for folks to run staging environments.

@lidel
Copy link
Member

lidel commented Nov 23, 2021

(Rebased on top of #8554 which should fix the CI tests)

@lidel lidel mentioned this pull request Nov 23, 2021
80 tasks
@lidel lidel merged commit 11404a9 into ipfs:master Nov 23, 2021
@lidel lidel added this to the go-ipfs 0.11 milestone Nov 23, 2021
@mathew-cf mathew-cf deleted the gateways-on-same-domain branch November 23, 2021 17:39
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.

2 participants