From 528992ee98357100e481caba676786fc3aab57bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Mon, 11 Sep 2023 12:45:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=BD=95=E5=83=8F?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AE=BF=E9=97=AE=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http_server.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/http_server.conf b/http_server.conf index 45e980e..31cd361 100644 --- a/http_server.conf +++ b/http_server.conf @@ -4,13 +4,6 @@ server { client_max_body_size 5000m; - location ~* \.(mp4|m4v|m4a)$ { - mp4; - mp4_buffer_size 1m; - mp4_max_buffer_size 50m; - root /opt/jumpserver/data/; - } - location /player/ { try_files $uri / /index.html; alias /opt/player/; @@ -30,11 +23,6 @@ server { alias /opt/download/; } - location /media/replay/ { - add_header Content-Encoding gzip; - root /opt/jumpserver/data/; - } - location /static/ { root /opt/jumpserver/data/; }