Commit ba453562 authored by Olav Morken's avatar Olav Morken

Fix authentication sidecar eating all requests that start with "/login".

We need to use an exact match for our various URL handlers, so that we
do not inadvertently grab requests that were not targeted at us.
parent e76fb130
Pipeline #1990 passed with stage
in 15 seconds
......@@ -9,16 +9,16 @@ server {
rewrite_by_lua_file /usr/local/share/lua/5.1/feide.lua;
}
location /auth_proxy_callback {
location = /auth_proxy_callback {
rewrite_by_lua_file /usr/local/share/lua/5.1/callback.lua;
}
location /logout {
location = /logout {
set $action 'logout';
rewrite_by_lua_file /usr/local/share/lua/5.1/auth.lua;
}
location /login {
location = /login {
set $action 'login';
rewrite_by_lua_file /usr/local/share/lua/5.1/auth.lua;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment