Skip to content

Instantly share code, notes, and snippets.

View realmiketalbot's full-sized avatar

Mike Talbot realmiketalbot

  • Emmons & Olivier Resources, Inc.
  • Fort Collins, CO
  • 00:30 (UTC -06:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am realmiketalbot on github.
  • I am mtalbot (https://keybase.io/mtalbot) on keybase.
  • I have a public key ASBsLA3gPqc7R9NaAUqTAVjaUyc8Ca54GcNZXrVa8FcIqAo

To claim this, I am signing this object:

@realmiketalbot
realmiketalbot / nginx-unificontroller.conf
Created May 13, 2020 03:23 — forked from vidia/nginx-unificontroller.conf
Example, working, NGINX config for proxying to Unifi Controller software and using letsencrypt. Includes websocket fix.
# I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt. So here are the fruits of my labor.
# The unifi default port is 8443 running on localhost.
# License: CC0 (Public Domain)
server {
# SSL configuration
#
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
@realmiketalbot
realmiketalbot / gist:f9a6eb947be2c78f76375c5f143377fb
Created September 30, 2020 04:30
Initialize ppp for Dell SonicWALL NetExtender client
#!/bin/sh
# Dell SonicWALL NetExtender client initialization
# You should place the netExtender excutable under:
# /usr/sbin/netExtender
rm -f /etc/ppp/sslvpn.pid
rm -f /etc/ppp/sslvpn.pid2
rm -f /etc/ppp/sslvpn.clientip
rm -f /etc/ppp/ip-down.d/sslvpnroutecleanup
invisible(lapply(paste0('package:', names(sessionInfo()$otherPkgs)), detach, character.only=TRUE, unload=TRUE))

Keybase proof

I hereby claim:

  • I am realmiketalbot on github.
  • I am realmiketalbot (https://keybase.io/realmiketalbot) on keybase.
  • I have a public key ASAkIqd7T-Zgj7HcfyvOnQ7NUIMpo4pn1ZHnPma2c34LBwo

To claim this, I am signing this object:

@realmiketalbot
realmiketalbot / geoserver.conf
Created May 12, 2020 19:37
Configuration of geoserver.conf for https reverse proxy using nginx on Ubuntu 18.04
server {
listen 80;
listen [::]:80;
if ($scheme != "https"){
return 301 https://$host$request_uri;
}
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;