Skip to content

Instantly share code, notes, and snippets.

@tnlin
Created December 12, 2014 06:45
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 tnlin/1606faf472f0eb8982a8 to your computer and use it in GitHub Desktop.
Save tnlin/1606faf472f0eb8982a8 to your computer and use it in GitHub Desktop.
location / {
proxy_set_header HOST $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
root /usr/local/www/apache24/data;
index index.html index.htm;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment