Created
June 19, 2018 18:41
-
-
Save ryan953/91aeda23bba3598db2e7e9ecf0b7f04b to your computer and use it in GitHub Desktop.
This file contains 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 / { | |
rewrite "^/htxg/amp/(.*)/(.*)/(\?.*)??" "/priv/doc?sign=https://www.pinterest.com/amp/$1/$2/" break; | |
proxy_pass http://localhost:8080; | |
include /etc/nginx/conf.d/proxy.conf; | |
set $upstream_name localhost:8080; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment