Skip to content

Instantly share code, notes, and snippets.

@tiensonqin
Forked from cgag/gist:8031034
Created December 20, 2013 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiensonqin/8050257 to your computer and use it in GitHub Desktop.
Save tiensonqin/8050257 to your computer and use it in GitHub Desktop.
102
103 server {
104 listen 80;
105 server_name bookmarking.curtis.io;
106
107 location / {
108 expires 24h;
109 proxy_pass http://localhost:3000/;
110 sendfile on;
111 proxy_redirect off;
112 proxy_set_header Host $host;
113 proxy_set_header X-Real-IP $remote_addr;
114 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
115 }
116 }
117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment