DEV Community

Discussion on: Local development with HTTPS on OSX

Collapse
 
mariancraciun1983 profile image
Marian Craciun

I did some bash scripts to automate this process a while ago. I prefer haproxy for easy of use.

You could check the code here github.com/mariancraciun1983/Dev-C... with a haproxy example.

Another simple solution for local aliasing, would be to have a CNAME for *.localhost.DOMAIN.com point to 127.0.0.1 . This will allow you to have unlimited hostnames.

Collapse
 
stenpittet profile image
Sten

Seems quite elegant, I'll definitely look into that. Thanks for sharing your code too!