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 !

Posted at Nginx Forum:,176511,176511#msg-176511

heloo, does anyone knows?? pls help me

Posted at Nginx Forum:,176511,176904#msg-176904

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

Here is one example:

Posted at Nginx Forum:,176511,176968#msg-176968