-
-
Save benmay/a9d66ec3e5dd17b06686 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
# Bypass cache for mobile user agents | |
if ( $http_user_agent ~* '(ipad|ipod|iphone|android|opera mini|blackberry|pre/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile)' ) { | |
set $no_cache_set 1; | |
set $no_cache_get 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment