Skip to content

Instantly share code, notes, and snippets.

@Odilhao
Last active August 29, 2015 14:19
Show Gist options
  • Save Odilhao/d39b9fed71c031796738 to your computer and use it in GitHub Desktop.
Save Odilhao/d39b9fed71c031796738 to your computer and use it in GitHub Desktop.
ghost
server {
listen 80;
listen [::]:80 ;
server_name blogdns; # Replace with your domain
client_max_body_size 10G;
location / {
proxy_pass http://localhost:2368;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment