From cbb15710633f0848235d435581e79a470e8e053a Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 18 Apr 2024 23:32:48 +0200 Subject: [PATCH] docker: remove duplicated nginx configuration --- docker/nginx/vichan.conf | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docker/nginx/vichan.conf b/docker/nginx/vichan.conf index ea46476e..b5b49deb 100644 --- a/docker/nginx/vichan.conf +++ b/docker/nginx/vichan.conf @@ -18,21 +18,6 @@ server { try_files $uri @addslash; } - # Expire rules for static content - # Media: images, icons, video, audio, HTC - location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { - expires 1M; - access_log off; - log_not_found off; - add_header Cache-Control "public"; - } - # CSS and Javascript - location ~* \.(?:css|js)$ { - expires 1y; - access_log off; - log_not_found off; - add_header Cache-Control "public"; - } # Expire rules for static content # Media: images, icons, video, audio, HTC location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {