Skip to content

Commit

Permalink
Merge pull request #126 from jumpserver/pr@dev@perf_video_path
Browse files Browse the repository at this point in the history
perf: 优化录像文件访问路径
  • Loading branch information
ibuler authored Sep 11, 2023
2 parents 4b4fab4 + c22c5ef commit b1df1c4
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 b1df1c4

Please sign in to comment.