Skip to content

Conversation

@yoerayo
Copy link
Contributor

@yoerayo yoerayo commented Sep 29, 2021

The current implementation of puma-dev doesn't actually take the configured domains into account when resolving apps, so anything other than a very simple TLD fails to resolve properly. This PR attempts to remove the configured TLDs from the requested host before falling back to the old method of just stripping everything after and including the last period from the host.

@nonrational nonrational self-requested a review October 5, 2021 14:25
@nonrational
Copy link
Member

Thanks @yoerayo! Looks like this enhancement will obviate the symlink workarounds necessary to configure domains and not just TLDs. I'm going to merge as is and then add a note to the readme.

Will cut a new release in the next few days after kicking the tires a bit.

@nonrational nonrational merged commit 03601ea into puma:master Oct 10, 2021
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