From 04c163e5901aa937465ae646cc8b4e5214825c44 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Sun, 24 Dec 2023 11:58:37 +0100 Subject: [PATCH] nginx --- nginx_default.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nginx_default.conf b/nginx_default.conf index e143dfba..bd9e34c4 100644 --- a/nginx_default.conf +++ b/nginx_default.conf @@ -11,18 +11,18 @@ server { } location ~* \.(js|css|jpg|jpeg|png|gif|js|css|ico|swf)$ { - expires 1y; - etag off; - if_modified_since off; - add_header Cache-Control "public, no-transform"; - } - + expires 1y; + etag off; + if_modified_since off; + add_header Cache-Control "public, no-transform"; + } error_page 404 /404.html; location = /404.html { root /usr/share/nginx/html; } + # redirect server error pages to the static page /50x.html # #error_page 500 502 503 504 /50x.html;