Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
yanorei32 authored Dec 27, 2024
1 parent 0569ca4 commit 9c74230
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ http {
error_log /dev/stderr;

map $request_uri $loggable {
~mp4$ 0;
~m3u8$ 0;
~mp4(\?.*)$ 0;
~m3u8(\?.*)$ 0;
default 1;
}

server {
listen 80;

location / {

resolver 127.0.0.11 valid=30s;
set $backend "http://mediamtx:8888";
proxy_pass $backend;
Expand Down

0 comments on commit 9c74230

Please sign in to comment.