Please convert this .htaccess to NGINX Rewrite

RewriteEngine Off

could somebody convert this .htaccess to NGINX rewrite,??

Header set Cache-Control “max-age=29030400”

ExpiresActive On
ExpiresDefault A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType application/x-shockwave-flash A604800

if u could help me, i’ll be glad and u’re the best !
thx

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,176511,176511#msg-176511

heloo, does anyone knows?? pls help me

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,176511,176904#msg-176904

There are plenty of example around the web. Search something like “nginx
static content expires”:

Here is one example:
http://serverfault.com/questions/23157/setting-expires-headers-for-static-content-served-from-nginx

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,176511,176968#msg-176968

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs