stacksjs/stacks

Use caddy reverse proxy for pretty local dev domains

Closed this issue · 2 comments

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

Whenever caddy becomes available in tea, we will finish this task.

Relating: pkgxdev/pantry#2999

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