Skip to content

Instantly share code, notes, and snippets.


benmay/nginx-site-mod.conf Secret

Created May 21, 2013
What would you like to do?
# 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
You can’t perform that action at this time.