update nginx
This commit is contained in:
parent
1918fe4d33
commit
555fee9b49
|
|
@ -22,6 +22,7 @@ rtmp {
|
||||||
meta off;
|
meta off;
|
||||||
wait_video on;
|
wait_video on;
|
||||||
|
|
||||||
|
allow publish 127.0.0.1;
|
||||||
idle_streams off;
|
idle_streams off;
|
||||||
|
|
||||||
hls on;
|
hls on;
|
||||||
|
|
@ -45,6 +46,7 @@ rtmp {
|
||||||
meta off;
|
meta off;
|
||||||
wait_video on;
|
wait_video on;
|
||||||
|
|
||||||
|
allow publish 127.0.0.1;
|
||||||
idle_streams off;
|
idle_streams off;
|
||||||
|
|
||||||
hls on;
|
hls on;
|
||||||
|
|
@ -82,5 +84,4 @@ http {
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
include /etc/nginx/sites-enabled/*;
|
include /etc/nginx/sites-enabled/*;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -13,6 +13,8 @@ server {
|
||||||
|
|
||||||
# Handle OPTIONS requests
|
# Handle OPTIONS requests
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
|
add_header Access-Control-Allow-Origin "*" always;
|
||||||
|
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
|
||||||
return 204;
|
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");
|
exec("sudo chmod 444 /sys/class/dmi/id/product_uuid");
|
||||||
$version = "12.21";
|
$version = "12.22";
|
||||||
|
|
||||||
function fail(string $msg): never
|
function fail(string $msg): never
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue