I hereby claim:
- I am mehtamanan on github.
- I am mehtamanan (https://keybase.io/mehtamanan) on keybase.
- I have a public key ASDlq7xYT_t5ybsbiUOUDhYnf0pxvLSVKqYjPDqRVskaxAo
To claim this, I am signing this object:
| Secure sessions are easy, but it's not very well documented, so I'm changing that. | |
| Here's a recipe for secure sessions in Node.js when NginX is used as an SSL proxy: | |
| The desired configuration for using NginX as an SSL proxy is to offload SSL processing | |
| and to put a hardened web server in front of your Node.js application, like: | |
| [NODE.JS APP] <- HTTP -> [NginX] <- HTTPS -> [CLIENT] | |
| To do this, here's what you need to do: |
| #!/bin/sh -e | |
| # | |
| # Usage: browser | |
| # pipe html to a browser | |
| # e.g. | |
| # $ echo '<h1>hi mom!</h1>' | browser | |
| # $ ron -5 man/rip.5.ron | browser | |
| if [ -t 0 ]; then | |
| if [ -n "$1" ]; then |
I hereby claim:
To claim this, I am signing this object: