Skip to content

Commit

Permalink
perf: 优化录像文件访问路径
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Sep 11, 2023
1 parent 0a681b9 commit 528992e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions http_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/;
Expand All @@ -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/;
}
Expand Down

0 comments on commit 528992e

Please sign in to comment.