Skip to content
View samson-sham's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report samson-sham

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Mapping custom DNS Mapping custom DNS
    1
    docker run -it --rm -p 53:53/udp \
    2
      --cap-add=NET_ADMIN andyshinn/dnsmasq:latest \
    3
      --log-queries \
    4
      --log-facility=- \
    5
      --address=/yourcustomdomain.com/192.168.0.0
  2. startLocalStream.sh startLocalStream.sh
    1
    #!/bin/sh
    2
    docker run --rm -p 3030:80 -v $PWD:/opt/static/videos -v ~/htdocs/stream/nginx.conf:/usr/local/nginx/conf/nginx.conf nytimes/nginx-vod-module:1.4.1
  3. RabbitMQ installation RabbitMQ installation
    1
    $ wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add -
    2
    
                  
    3
    $ sudo apt-get install apt-transport-https
    4
    
                  
    5
    $ echo "deb https://dl.bintray.com/rabbitmq-erlang/debian xenial erlang" | sudo tee /etc/apt/sources.list.d/bintray.erlang.list
  4. Setting up SSL certificate Setting up SSL certificate
    1
    # HTTPS workflow 2020
    2
    
                  
    3
    Many documentations outsides, but some of them are out of date, and some of them only applies to already setup servers like Apaches, Nginx, etc. So I have summed up my experience on this.
    4
    
                  
    5
    ## Install certbot