Skip to content

Instantly share code, notes, and snippets.

Nginx Reverse Proxy

sudo rm /etc/nginx/sites-enabled/default
sudo nano /etc/nginx/conf.d/proxy.conf
server {
 listen 80;
@silend
silend / gist:1bbec483592dc2b67eac525e0e4be0b4
Created July 20, 2018 10:09
Blockstack ID verification
Verifying my Blockstack ID is secured with the address 19CgsggPSKcg73JzjXepcfnutDQknQiu7e https://explorer.blockstack.org/address/19CgsggPSKcg73JzjXepcfnutDQknQiu7e
@silend
silend / gist:ac3a2eaa14b16064844c922ae3e2c2c3
Created May 28, 2017 11:09
Verification of Blockstack ID
Verifying that "silend.id" is my Blockstack ID. https://onename.com/silend
@silend
silend / gist:5234192
Created March 25, 2013 00:17
jitsu deploy error
error: Error running command deploy
error: Hostname/IP doesn't match certificate's altnames
error: Error: Hostname/IP doesn't match certificate's altnames
error: at SecurePair.<anonymous> (tls.js:1279:23)
error: at SecurePair.EventEmitter.emit (events.js:92:17)
error: at SecurePair.maybeInitFinished (tls.js:887:10)
error: at CleartextStream.read [as _read] (tls.js:421:15)
error: at CleartextStream.Readable.read (_stream_readable.js:293:10)
error: at EncryptedStream.write [as _write] (tls.js:330:25)
error: at doWrite (_stream_writable.js:211:10)
@silend
silend / gist:5021173
Last active December 14, 2015 03:29
Nodejitsu: Nodejitsu Error (500): Internal Server Error
info: Creating snapshot 0.0.3-6
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: socket hang up
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help: