apt install nginx
apt install libnginx-mod-rtmp
apt install ffmpeg
apt install stunnel4vim /etc/nginx/nginx.conf
- Remove http {} and mail {}
apt install nginx
apt install libnginx-mod-rtmp
apt install ffmpeg
apt install stunnel4vim /etc/nginx/nginx.conf
| <?php | |
| //скрыть, если не пользуетесь прокси. | |
| $proxy="127.0.0.1:1337"; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_PROXY, $proxy); | |
| curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5); |