diff --git a/auth.lua b/auth.lua index 6b7771d..90c8b44 100644 --- a/auth.lua +++ b/auth.lua @@ -5,7 +5,7 @@ local opts = { discovery = "https://kc.boomlab.party/realms/rhein-sw/.well-known/openid-configuration", client_id = "demo-sso", client_secret = os.getenv("KEYCLOAK_CLIENT_SECRET"), - redirect_uri_scheme = "https", + redirect_uri_scheme = "http", scope = "openid email profile" } diff --git a/nginx.conf b/nginx.conf index 53ee314..878fc7f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,6 +5,8 @@ events { } http { + resolver 192.168.21.2 ipv6=off; + lua_package_path "/usr/local/openresty/lualib/?.lua;;"; lua_shared_dict discovery 1m;