From 0a681b9e61f2a79aacf20de27b5ade7fe631c6db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 11 Aug 2023 14:56:21 +0800 Subject: [PATCH] feat: remove nginx cache --- http_server.conf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/http_server.conf b/http_server.conf index 452f837..45e980e 100644 --- a/http_server.conf +++ b/http_server.conf @@ -2,16 +2,6 @@ server { listen 80; # listen [::]:80; - proxy_cache cache; - proxy_cache_key $host$request_uri; - proxy_cache_methods GET HEAD; - proxy_cache_valid 200 302 720m; - proxy_cache_valid 404 1m; - proxy_cache_use_stale http_502; - proxy_set_header X-Real-IP $remote_addr; - add_header X-Via $server_addr; - proxy_hide_header Set-Cookie; - client_max_body_size 5000m; location ~* \.(mp4|m4v|m4a)$ {