Skip to content

Instantly share code, notes, and snippets.

@bootjp
Last active August 29, 2015 14:07
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 bootjp/38b2a0b242a3843c6ce5 to your computer and use it in GitHub Desktop.
Save bootjp/38b2a0b242a3843c6ce5 to your computer and use it in GitHub Desktop.
NginxでProxyかませるとき
location /foo/bar/ {
root /hoge/;
proxy_pass http://example.com/foo/bar/;
proxy_cache_valid 200 302 60m;
expires 7d;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment