Created
March 16, 2010 04:40
-
-
Save pcdinh/333652 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
| if ($request_uri = /templates/wlc/css/css.gzip.php) { | |
| set $css_gzip 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /templates/wlc/lib/js/js.php) { | |
| set $js_php 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /modules/mod_yoo_carousel/mod_yoo_carousel.js.php) { | |
| set $js_mod_yoo_carousel 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /modules/mod_prize/prizerotator.js.php) { | |
| set $js_prizerotator 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /modules/mod_yoo_carousel/mod_yoo_carousel.css.php) { | |
| set $css_mod_yoo_carousel 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /templates/wlc/css/xpvideos.php) { | |
| set $css_wlc_css_xpvideos 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /components/com_jomcomment/style.css.php) { | |
| set $css_com_jomcomment 1; | |
| expires 2d; | |
| } | |
| if ($request_uri = /components/com_jomcomment/templates/default/comment_style.css.php) { | |
| set $css_com_jomcomment_default_comment 1; | |
| expires 2d; | |
| } | |
| # Read cached file | |
| if ($css_gzip = 1) { | |
| rewrite ^(.*)$ /nginxcache/css.gzip.php.css last; | |
| break; | |
| } | |
| if ($js_php = 1) { | |
| rewrite ^(.*)$ /nginxcache/wlc.js last; | |
| break; | |
| } | |
| if ($js_mod_yoo_carousel = 1) { | |
| rewrite ^(.*)$ /nginxcache/mod_yoo_carousel.js.php.js last; | |
| break; | |
| } | |
| if ($css_mod_yoo_carousel = 1) { | |
| rewrite ^(.*)$ /nginxcache/mod_yoo_carousel.css.php.css last; | |
| break; | |
| } | |
| if ($js_prizerotator = 1) { | |
| rewrite ^(.*)$ /nginxcache/prizerotator.js.php.js last; | |
| break; | |
| } | |
| if ($css_wlc_css_xpvideos = 1) { | |
| rewrite ^(.*)$ /nginxcache/wlc_css_xpvideos.css last; | |
| break; | |
| } | |
| if ($css_com_jomcomment = 1) { | |
| rewrite ^(.*)$ /nginxcache/com_jomcomment_style.css last; | |
| break; | |
| } | |
| if ($css_com_jomcomment_default_comment = 1) { | |
| rewrite ^(.*)$ /nginxcache/com_jomcomment_default_comment.css last; | |
| break; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment