Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 470 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 470 Bytes

Discord invites

install dependencies

opm get ledgetech/lua-resty-http

setup script

mkdir -p /usr/local/openresty/nginx/conf/lua.d

place discord_invite.lua to /usr/local/openresty/nginx/conf/lua.d/

In nginx.conf add

http {
  lua_package_path '/usr/local/openresty/nginx/conf/lua.d/?.lua;;';
}

place discord_invite.conf in /usr/local/openresty/nginx/conf/conf.d/ and change server_name and other settings like tls