diff --git a/roles/libravatar/templates/httpd/libravatar.conf b/roles/libravatar/templates/httpd/libravatar.conf index 555a5d94e9..0245df1069 100644 --- a/roles/libravatar/templates/httpd/libravatar.conf +++ b/roles/libravatar/templates/httpd/libravatar.conf @@ -12,6 +12,14 @@ RewriteEngine on Alias "/nobody" "/srv/libravatar/static/img/nobody" + + + ExpiresActive On + ExpiresDefault "A86400" + Header merge "Cache-Control" "public" + + + ServerName {{ server_name }} ServerAlias {{ server_redirect_name }}