Use caddy reverse proxy for pretty local dev domains
Closed this issue · 2 comments
chrisbbreuer commented
Clear and concise description of the problem
Instead of localhost:3333, we would use stacks.test and default to the app.url
Suggested solution
https://nesin.io/blog/https-for-localhost-caddy
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide
- Check that there isn't already an issue that requests the same feature (to avoid creating a duplicate)
chrisbbreuer commented
Whenever caddy becomes available in tea, we will finish this task.
Relating: pkgxdev/pantry#2999
chrisbbreuer commented
We are now using *.localhost domains for 2 reasons:
- automated SSL certs
- the Arc Browser has a "dev mode" that can only be triggered via .localhost domains
In the future, we may come back to .test domains, but I'm kind of liking the *.localhost so far