From 996fa846e49891c4d1d345a87f7fffb78b7b8104 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Aug 2019 14:26:36 +0300 Subject: [PATCH] expires --- docker/conf/nginx/conf.d/default.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docker/conf/nginx/conf.d/default.conf b/docker/conf/nginx/conf.d/default.conf index f78513ae..1ee0430c 100644 --- a/docker/conf/nginx/conf.d/default.conf +++ b/docker/conf/nginx/conf.d/default.conf @@ -32,16 +32,12 @@ server { location /static/ { alias /app/static/; - expires -1; + expires 1y; } location /media/ { alias /app/media/; - - location /media/instagram/results/ { - expires 1d; - try_files $uri @prod; - } + expires 1y; try_files $uri @prod; }