location /some/path/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://localhost:8000;
}
Created
October 28, 2014 22:32
-
-
Save brpaz/280394f6d5d1e9a93f95 to your computer and use it in GitHub Desktop.
#nginx #proxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment