1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-04-21 10:24:06 +00:00

Adding image caching via immutable to ansible.

This commit is contained in:
Dessalines 2020-01-12 12:54:23 -05:00
parent 38ba7dfb1a
commit ae02747ee0

View file

@ -68,8 +68,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
if ($request_uri ~ \.(?:ico|gif|jpe?g|png|webp|bmp|mp4)$) {
add_header Cache-Control "public";
expires max;
add_header Cache-Control "public, max-age=31536000, immutable";
}
}
}