Created
October 12, 2017 13:57
-
-
Save rodcisal/c08cfaaa9e30f593bcdf82705f4cbd56 to your computer and use it in GitHub Desktop.
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 { | |
listen 80; | |
server_name staging.dev.psimple.co; | |
location / { | |
if ($http_user_agent ~* "googlebot|yahoo|bingbot|baiduspider|yandex|yeti|yodaobot|gigabot|ia_archiver|facebookexternalhit|twitterbot|developers\.google\.com") { | |
# proxy_pass http://phoenix_phoenix_1:4000; | |
} | |
} | |
server_tokens off; | |
client_max_body_size 100m; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment