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