Skip to content

Instantly share code, notes, and snippets.

@mortik
Created July 11, 2013 18:53
Show Gist options
  • Save mortik/5978163 to your computer and use it in GitHub Desktop.
Save mortik/5978163 to your computer and use it in GitHub Desktop.
Reckoning nginx config
server {
listen 8080;
server_name reckoning.dev;
location / {
root ~/dev/work/mortik/reckoning/public;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:8240;
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment