Skip to content

Instantly share code, notes, and snippets.

@tbgoose
tbgoose / auth-basic.conf
Last active May 16, 2018 17:40 — forked from surrealchemist/auth-basic.conf
Adding "port_in_redirect off;" which fixes the problem caused when your router is forwarding from a different port. This stops nginx from adding the port back in which is needed in a couple cases.
auth_basic "Restricted";
auth_basic_user_file /usr/local/etc/nginx/htpasswd;
@tbgoose
tbgoose / autorun-plexconnect.sh
Created September 23, 2015 01:52 — forked from tommeier/autorun-plexconnect.sh
Plexconnect for Qnap (Intel - tested on 439 with Apple TV 3). Streaming media to Apple TV 3 from Qnap 439.
#!/bin/sh
# /share/MD0_DATA/.qpkg/autorun/autorun-plexconnect.sh
# chmod +x /share/MD0_DATA/.qpkg/autorun/autorun-plexconnect.sh
curl -L https://gist.github.com/tommeier/6255771/raw/update_plex_connect.sh | bash &