mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Fix issue with url redirection
This commit is contained in:
parent
d9f6be792a
commit
32452760b9
|
@ -14,6 +14,7 @@ services:
|
|||
- ldap
|
||||
expose:
|
||||
- "80"
|
||||
restart: always
|
||||
|
||||
ldap:
|
||||
image: osixia/openldap:1.1.7
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>Home page</title>
|
||||
</head>
|
||||
<body>
|
||||
You need to <a href="/auth/login?redirect=http://localhost:8085/">log in</a> to access the <a href="/secret.html">secret</a>!<br/><br/>
|
||||
You can also log off by visiting the following <a href="/auth/logout?redirect=http://localhost:8085/">link</a>.
|
||||
You need to <a href="/auth/login?redirect=/">log in</a> to access the <a href="/secret.html">secret</a>!<br/><br/>
|
||||
You can also log off by visiting the following <a href="/auth/logout?redirect=/">link</a>.
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -29,7 +29,7 @@ http {
|
|||
|
||||
error_page 401 = @error401;
|
||||
location @error401 {
|
||||
return 302 http://localhost:8085/auth/login?redirect=$request_uri;
|
||||
return 302 http://localhost:8080/auth/login?redirect=$request_uri;
|
||||
}
|
||||
|
||||
location = /check-auth {
|
||||
|
|
Loading…
Reference in New Issue
Block a user