Skip to content

Instantly share code, notes, and snippets.

@teewhey
teewhey / 100_base.conf
Created August 20, 2021 10:00 — forked from danackerson/100_base.conf
using nginx + lua + redis for redirects and rewrites
# using such a setup requires `apt-get install lua-nginx-redis` under Ubuntu Trusty
# more info @ http://wiki.nginx.org/HttpLuaModule#access_by_lua
http {
lua_package_path "/etc/nginx/include.d/?.lua;;";
lua_socket_pool_size 100;
lua_socket_connect_timeout 10ms;
lua_socket_read_timeout 10ms;
server {

Keybase proof

I hereby claim:

  • I am teewhey on github.
  • I am teewhey (https://keybase.io/teewhey) on keybase.
  • I have a public key ASBfBh1VT6v0PxZbIOMc_JzasSonFTISPQjl7_7nd0K5Cwo

To claim this, I am signing this object: