Skip to content

Instantly share code, notes, and snippets.

Avatar

lvillarino lvillarino

  • Las Vegas
View GitHub Profile
@lvillarino
lvillarino / gist:a75b7b29bf1b298eb5ef7deec2974aad
Created Nov 23, 2017
Setup an Ubuntu 16.04, ssh to the server and run the commands
View gist:a75b7b29bf1b298eb5ef7deec2974aad
apt-get update
apt-get upgrade
sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev unzip mc
cd /opt/
wget http://nginx.org/download/nginx-1.13.0.tar.gz
wget https://github.com/kaltura/nginx-vod-module/archive/master.zip
tar -zxvf nginx-1.13.0.tar.gz
unzip master.zip
cd nginx-1.13.0/
./configure --with-http_ssl_module --with-http_secure_link_module --add-module=../nginx-vod-module-master --with-file-aio --with-threads
@lvillarino
lvillarino / nginx.conf
Created Nov 23, 2017
nginx conf for nginx-vod-module on Ubuntu 16.04 with nginx secure_link_module
View nginx.conf
#user nobody;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
error_log logs/debug.log debug;
events {
View crossdomain.xml
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>