Last active
October 10, 2017 08:03
-
-
Save anri-c/e05fe25495e2e132c45b56f9e4a30b0b to your computer and use it in GitHub Desktop.
exmaple nginx proxy_pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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