This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
- Domain filtering
- Referrer filtering
- Embed buster
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
# Create and Initialize OpenVPN (Create OpenVPN Config) | |
docker run --rm -v $PWD:/etc/openvpn kylemanna/openvpn ovpn_genconfig -u udp://192.168.0.191:1194 | |
# Create certificate | |
docker run --rm -v $PWD:/etc/openvpn -it kylemanna/openvpn ovpn_initpki | |
# Create client account | |
docker run --rm -v $PWD:/etc/openvpn -it kylemanna/openvpn easyrsa build-client-full client | |
# Copy client certificate (ovpn file) from container |
<?php | |
/* Class name is determine the foldername. | |
* if you have myshop as the folder name, the class name should be MyshopValetDriver. | |
* The file location you should be save to is ~/.valet/Drivers/MyshopValetDrive.php | |
* class MyshopValetDriver extends ValetDriver | |
*/ | |
class OpenCartValetDriver extends ValetDriver | |
{ | |
/** |