Advertisement
Fany_VanDaal

Add Expires Headers (NGINX)

Apr 25th, 2019
165
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. location ~* \.(jpg|jpeg|png|gif|ico|css|js|pdf|svg)$ {
  2. expires 365d;
  3. }
  4. location ~* \.(pdf|html|swf)$ {
  5. expires 90d;
  6. }
Advertisement
RAW Paste Data Copied
Advertisement