From 4fcdeb0313dbd746bc6ffcfa51a44f509cd861d9 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 15 Jun 2022 18:40:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx/default.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index e25bf1973..38c50ecd4 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -60,6 +60,11 @@ server { proxy_pass http://service; } + location =/avatar { + expires 30d; + proxy_pass http://service; + } + location @laravels { proxy_http_version 1.1; proxy_set_header Connection "";