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:

heloo, does anyone knows?? pls help me

Posted at Nginx Forum:

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

Here is one example:

Posted at Nginx Forum: