Skip to content

Instantly share code, notes, and snippets.

@rashivkp
Last active March 15, 2021 12:15
Show Gist options
  • Save rashivkp/d6ce6cdb920c987ee925f523396d47dd to your computer and use it in GitHub Desktop.
Save rashivkp/d6ce6cdb920c987ee925f523396d47dd to your computer and use it in GitHub Desktop.
running local tunnel with nginx
# find mkcert ca path
# mkcert -CAROOT
# running local tunnel with local https server (nginx), using self signed certificates (mkcert),
lt --local-host api.dot.test --port 443 --subdomain dotapi --local-key /home/rashi/src/local-ssl-keys/_wildcard.dot.test+4-key.pem --local-ca /home/rashi/.local/share/mkcert/rootCA.pem --local-cert /home/rashi/src/local-ssl-keys/_wildcard.dot.test+4.pem --local-https true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment