Skip to content

Instantly share code, notes, and snippets.

View gokmen's full-sized avatar
🎯
Focusing

Gokmen Goksel gokmen

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gokmen on github.
  • I am gokmen (https://keybase.io/gokmen) on keybase.
  • I have a public key whose fingerprint is E9BD 82EB B0B2 9498 70D3 CF40 6C29 BDBA 7966 C571

To claim this, I am signing this object:

@gokmen
gokmen / ngrok-selfhosting-setup.md
Created September 21, 2016 23:31 — forked from lyoshenka/ngrok-selfhosting-setup.md
How to setup Ngrok with a self-signed SSL cert

Intro

The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.

DNS

Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.

Different Operating Systems