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; }