Skip to content

Instantly share code, notes, and snippets.

@mrbar42
mrbar42 / README.md
Last active March 14, 2025 21:14
Secured HLS setup with Nginx as media server

Secured HLS setup with Nginx as media server

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
@jimmygle
jimmygle / routes.php
Last active February 15, 2023 12:18
Basic Laravel 5.2 HTTP Proxy Server (with file upload support)
<?php
/**
* This is a really quick and dirty HTTP proxy server that supports GET and POST (with file upload) requests.
*
* Setup instructions:
* 1) Install Laravel 5.2
* 2) `composer require guzzlehttp/guzzle`
* 3) Add this to your laravel routes.php
* 4) `php artisan serve --host=[server_ip] --port=80`