From 42dc26d4b0e72f382afd554c23b5ca01afad817f Mon Sep 17 00:00:00 2001 From: drymer Date: Thu, 27 Aug 2020 19:45:35 +0200 Subject: [PATCH] Footer. Information about Breaking Changes and reference issues that this commit closes --- nginx.conf | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nginx.conf b/nginx.conf index 99105cc..15784b8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -10,15 +10,8 @@ server { error_page 404 /404.html; + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } - - location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ { - expires 30d; - } - - location ~* \.(css|js)$ { - expires 7d; - } }