-
Notifications
You must be signed in to change notification settings - Fork 77
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
Use XXX.localhost
instead of XXX.local
#171
Comments
XXX.localhost
instead of XXX.local
Good point. Let's change that for new setups. |
I migrated my dev setup from This week, I wanted to access my dev setup from a virtual machine and therefore created a Host-Only network. Host got 192.168.56.1 and guest 192.168.56.3. Inside the guest, I added an entry The reason is that most browsers and also newer curl versions added a special handling for localhost: https://daniel.haxx.se/blog/2021/05/31/curl-localhost-as-a-local-host/ |
So it doesn't work if you add the entry manually to the hosts file? I've used |
As long as I'm aware it's an edge case and using .localhost by default is nevertheless a good idea, but I would love to see a brief hint in the readme if we flip to .localhost about this limitation. |
More complex setup's should go with |
XXX.localhost
is set up on most linux systems to already resolve to 127.0.0.1, so adding the record to /etc/hosts would no longer be needed.Of course this can be changed in the env file, but I think this is a more useful default setup.
The text was updated successfully, but these errors were encountered: