Skip to content

Instantly share code, notes, and snippets.

@anri-c
Last active October 10, 2017 08:03
Show Gist options
  • Select an option

  • Save anri-c/e05fe25495e2e132c45b56f9e4a30b0b to your computer and use it in GitHub Desktop.

Select an option

Save anri-c/e05fe25495e2e132c45b56f9e4a30b0b to your computer and use it in GitHub Desktop.
exmaple nginx proxy_pass
location /hoge/ {
proxy_pass http://_upstream1;
# http://example.com/hoge/
# へのアクセスを
# http://_upstream/hoge/
# へ
location /hoge/ {
proxy_pass http://_upstream/;
# http://example.com/hoge/
# へのアクセスを
# http://_upstream/
# へ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment