Skip to content

Instantly share code, notes, and snippets.

View VuokkoVuorinnen's full-sized avatar

Vuokko Vuorinnen VuokkoVuorinnen

View GitHub Profile
@hazcod
hazcod / apache-plex-reverse-proxy.vhost
Last active December 9, 2023 19:02
Apache2 reverse proxy vhost configuration for Plex. Rerquires modules ssl, proxy, wstunnel
This current configuration is based of at least Server Version 1.16.5.1488 and Web Version: 3.108.2.
This updated config file allows the playing of trailers and TV Show theme music where as the previous one did not.
## Requirements
1. Apache version > 2.4
2. A bunch of mod's enabled (proxy, ssl, proxy_wstunnel, http, dir, env, headers, proxy_balancer, proxy_http, rewrite)
3. Protocols h2 http/1.1 needs apachectl -V 2.4.17 and higher...
## Apache .conf file
@kbon
kbon / throughssh
Last active June 26, 2017 09:19
SSH config partial allowing to hop through an arbitrary host
# Generic throughssh command
Host *.throughssh.*
User root
ProxyCommand ssh -A -q `echo %h | sed -e 's/^[^\.]*\.throughssh\.//'` -W `echo %h | sed -e 's/\.throughssh\.[^\.]*$//'`:%p
GSSAPIAuthentication yes
ForwardX11Trusted yes
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
LogLevel ERROR
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES