Skip to content

Instantly share code, notes, and snippets.

View lvillarino's full-sized avatar

lvillarino lvillarino

  • Las Vegas
View GitHub Profile
@lvillarino
lvillarino / crossdomain.xml
Created November 23, 2017 22:43
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>
@lvillarino
lvillarino / gist:a75b7b29bf1b298eb5ef7deec2974aad
Created November 23, 2017 22:46
Setup an Ubuntu 16.04, ssh to the server and run the commands
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 November 23, 2017 22:45
nginx conf for nginx-vod-module on Ubuntu 16.04 with nginx secure_link_module
#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 {