ysbaddaden / prax

Rack proxy server for development
http://ysbaddaden.github.io/prax/
Other
475 stars 49 forks source link

Use TLD other than .dev #139

Closed tobyjsullivan closed 6 years ago

tobyjsullivan commented 6 years ago

Chrome is now preloading HSTS for all .dev domains (details). It would be good to be able to configure a different TLD such as .localhost to avoid HSTS. Pow provides a POW_DOMAINS configuration for this. Is there an equivalent for Prax?

tobyjsullivan commented 6 years ago

After reading the source, I found the following should work. Would be good to document if it's not already - I couldn't find it.

echo 'export PRAX_DOMAINS=localhost' > ~/.praxconfig