Skip to content

Instantly share code, notes, and snippets.

View Nicholas-Wilson-YourIoT's full-sized avatar

Nicholas-Wilson-YourIoT

View GitHub Profile
@Nicholas-Wilson-YourIoT
Nicholas-Wilson-YourIoT / le-urvpn.sh
Last active December 19, 2018 23:44
This is to enable Let's Encrypt on Ursalink VPN
#!/bin/sh
#
# It is written and tested for Ubuntu 16.04 on Binary Lane using a $4/month Linux VPS.
#
# It does the following:
# 1) Updates everything and installs all requirements
# 2) Uses Certbot to request a Lets Encrypt Certificate
# 3) Builds a HTTPS proxy to use proper certificates
# 4) Writes out an automatic renewal cron for Lets Encrypt (as the certs expire every 3 months)
#
@Nicholas-Wilson-YourIoT
Nicholas-Wilson-YourIoT / le-devhub.sh
Last active December 5, 2018 23:05
This is to enable Let's Encrypt on Device Hub
#!/bin/sh
#
# It is written and tested for Ubuntu 16.04 on Binary Lane using a $4/month Linux VPS.
#
# It does the following:
# 1) Kills Nginx as DeviceHub does not start it as a service
# 2) Uses Certbot to request a Lets Encrypt Certificate
# 3) Modifies the Nginx config to disable HTTP access and reference the new certificates
# 4) Writes out an automatic renewal cron for Lets Encrypt (as the certs expire every 3 months)
#
@Nicholas-Wilson-YourIoT
Nicholas-Wilson-YourIoT / le-install.sh
Last active June 30, 2018 06:50 — forked from hisnameisjimmy/le-install.sh
Unifi Controller one-shot install script for Ubuntu 16.04 with Lets Encrypt
#!/bin/sh
#
# This script stands on the shoulders of giants.
#
# You can always find the most recent version here: https://gist.github.com/hisnameisjimmy/56f9414076ca39a79bfa07eefa89759e
#
# It is written and tested for Ubuntu 16.04 on Digital Ocean using a 1GB droplet.
# Anything less than 1GB of memory may cause issues with anything memory intensive
# like imports/exports.
#