Created
February 27, 2014 03:45
-
-
Save iamblue/9243989 to your computer and use it in GitHub Desktop.
nginx default
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
| server{ | |
| #... | |
| if ($http_user_agent ~ (Googlebot|faceboo54kexternalhit)) { | |
| rewrite ^ /seo$uri last; | |
| } | |
| location /seo { | |
| proxy_pass http://localhost:3333; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment