Created
February 22, 2017 02:41
-
-
Save zhangyuchi/00086da8e0b335ce4d929013e22d72d8 to your computer and use it in GitHub Desktop.
nginx.conf rewrite exsample
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 ~ ^/icomet/.* { | |
rewrite ^/icomet/(.*) /$1 break; | |
proxy_read_timeout 60; | |
proxy_connect_timeout 60; | |
proxy_buffering off; | |
proxy_pass http://127.0.0.1:8100; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
upstream