Skip to content

Instantly share code, notes, and snippets.

View jcpunk's full-sized avatar
🐱

Pat Riehecky jcpunk

🐱
View GitHub Profile
@jcpunk
jcpunk / vpn.fnal.gov.nmconnection
Last active October 23, 2024 18:11
NetworkManager vpn.fnal.gov
[connection]
id=vpn.fnal.gov
uuid=6cd553e9-cf8a-4869-adce-5d25bcf04dfa
type=vpn
autoconnect=false
permissions=
[vpn]
authtype=password
autoconnect-flags=0
@borfig
borfig / header_filter_by_lua_file.lua
Created March 4, 2022 20:27
Reverse Proxy helper for HTTP Redirect Binding
-- Installation instructions
-- 1. Install OpenResty (https://openresty.org/)
-- 2. Use opm to install dependencies:
-- opm get hamishforbes/lua-ffi-zlib && opm get liyo/neturl
-- 3. Change the configuration below to suit your needs
-- 4. Reference this file using header_filter_by_lua_file directive,
-- in the same block as the relevant proxy_pass directive.
-- Configuration
-- The following 2 locals are editable