Skip to content

Instantly share code, notes, and snippets.

server {
listen 80;
location / {
proxy_pass http://localhost:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
{
id: 1,
template: "thumbs/index",
modified: "2011-01-01",
site: {
id: 1234
title: "Dave's Folio",
domain: "davegorum.com",
footer: "Copyright Dave Gorum",
logo: { id: 500 }