Skip to content
This repository has been archived by the owner on Jan 1, 2019. It is now read-only.

Commit

Permalink
add example nginx proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bastilian committed Nov 27, 2013
1 parent 6e1851f commit 76679ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nginx/ghost-proxy.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
server {
listen 80;

server_name example.com; # Change to your domain
root /var/www/ghost; # Change to the path where Ghost is

location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:2368;
}
}

0 comments on commit 76679ca

Please sign in to comment.