update nginx
This commit is contained in:
parent
1918fe4d33
commit
555fee9b49
|
|
@ -22,6 +22,7 @@ rtmp {
|
|||
meta off;
|
||||
wait_video on;
|
||||
|
||||
allow publish 127.0.0.1;
|
||||
idle_streams off;
|
||||
|
||||
hls on;
|
||||
|
|
@ -45,6 +46,7 @@ rtmp {
|
|||
meta off;
|
||||
wait_video on;
|
||||
|
||||
allow publish 127.0.0.1;
|
||||
idle_streams off;
|
||||
|
||||
hls on;
|
||||
|
|
@ -83,4 +85,3 @@ http {
|
|||
include /etc/nginx/sites-enabled/*;
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -13,6 +13,8 @@ server {
|
|||
|
||||
# Handle OPTIONS requests
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Origin "*" always;
|
||||
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
|
||||
return 204;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ https://github.com/shreebhattji/Urmi/blob/main/licence.md
|
|||
*/
|
||||
|
||||
exec("sudo chmod 444 /sys/class/dmi/id/product_uuid");
|
||||
$version = "12.21";
|
||||
$version = "12.22";
|
||||
|
||||
function fail(string $msg): never
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue