From 7f7b8219641c7ea59ee95cc32d1fc2a33cb16388 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 15 Oct 2020 09:44:31 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5f3c860..0e41766 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -31,6 +31,11 @@ location __PATH__/ { fastcgi_param SCRIPT_FILENAME $request_filename; } + location ~ \.(jpg|jpeg|gif|png|css|js|ico|svg|eot|ttf|woff|woff2|otf)$ { + access_log off; + expires 30d; + } + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; }