|
@@ -2,8 +2,8 @@
|
|
|
|
|
|
http {
|
|
|
upstream ispooge_static {
|
|
|
- server ispooge-static:9090;
|
|
|
-# server 192.168.1.6:3000;
|
|
|
+ #server ispooge-static:9090;
|
|
|
+ server 192.168.1.6:3000;
|
|
|
}
|
|
|
|
|
|
types {
|
|
@@ -17,7 +17,7 @@ http {
|
|
|
|
|
|
|
|
|
set $cors '';
|
|
|
- if ($http_origin ~ '^https?\:\/\/(localhost|\d+\.\d+\.\d+.\d+|(www\.)?ispooge\.com|(www\.)?harlanji\.com|(www\.)?tinydatacenter\.com)\/?') {
|
|
|
+ if ($http_origin ~ '^https?\:\/\/(localhost(\:[\d+])?|\d+\.\d+\.\d+.\d+|(www\.)?ispooge\.com|(www\.)?harlanji\.com|(www\.)?tinydatacenter\.com)\/?') {
|
|
|
set $cors 'C';
|
|
|
}
|
|
|
|
|
@@ -153,10 +153,10 @@ rtmp {
|
|
|
#meta copy;
|
|
|
|
|
|
# YT LIVE
|
|
|
- push rtmp://a.rtmp.youtube.com app=live2 playpath=YT_KEY live=1;
|
|
|
+ #push rtmp://a.rtmp.youtube.com app=live2 playpath=YT_KEY live=1;
|
|
|
|
|
|
# Twitch
|
|
|
- push rtmp://live-sjc.twitch.tv app=app playpath=TWITCH_KEY live=1;
|
|
|
+ #push rtmp://live-sjc.twitch.tv app=app playpath=TWITCH_KEY live=1;
|
|
|
}
|
|
|
}
|
|
|
}
|