Skip to content

Instantly share code, notes, and snippets.

View ruxkor's full-sized avatar

Andor Goetzendorff ruxkor

View GitHub Profile
@ruxkor
ruxkor / delete_registry_image.sh
Created August 2, 2018 13:52
delete a specific image in your docker registry
#!/bin/bash
# set the following variables
REGISTRY_HOSTNAME=
REGISTRY_USER=
REGISTRY_PASSWORD=
REGISTRY_IMAGE=
REGISTRY_IMAGE_TAG=
# if you don't know, get the tags first
@ruxkor
ruxkor / 0. nginx_setup.sh
Created March 29, 2020 22:32 — forked from mikhailov/0. nginx_setup.sh
Nginx + secure pseudo-streaming
# Nginx can serve FLV/MP4 files by pseudo-streaming way without any specific media-server software.
# To do the custom build we use 2 modules: --with-http_secure_link_module --with-http_flv_module
# This module "secure-link" helps you to protect links from stealing away.
#
# NOTE: see more details at coderwall: http://coderwall.com/p/3hksyg
cd /usr/src
wget http://nginx.org/download/nginx-1.5.13.tar.gz
tar xzvf ./nginx-1.5.13.tar.gz && rm -f ./nginx-1.5.13.tar.gz