Skip to content

Sample project to test the use of locally trusted certificates for local development with Docker and Traefik or Nginx

License

Notifications You must be signed in to change notification settings

erighetto/local-dev-https-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using locally trusted certificates for local development with Docker and Traefik or Nginx

An easy way of having trusted self signed certs for local development needs.
We’re assuming you work on a Mac OS machine and you use Docker.
Tool used:

  • mkcert
  • dnsmasq

mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like
https://github.com/FiloSottile/mkcert

dnsmasq

Wildcard DNS in localhost development
https://gist.github.com/eloypnd/5efc3b590e7c738630fdcf0c10b68072

Nginx option

cd nginx-https     
make up  

open https://nginx-https-demo.localhost
Read the specific README

Traefik option

cd traefik-https     
make up   

open https://traefik-https-demo.localhost
Read the specific README

About

Sample project to test the use of locally trusted certificates for local development with Docker and Traefik or Nginx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published