mirror of
https://github.com/dignajar/another-ldap.git
synced 2026-04-26 05:45:47 +03:00
[GH-ISSUE #14] Configure reverse proxy to other URL #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/another-ldap#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jonathan-arenas on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/dignajar/another-ldap/issues/14
Hi people!
Good job with the solution! It was exactly what I was looking for.
I have a doubt, is it possible to configure (I do not see on code) the solution for redirection to other site (once logged in)?
I want to configure reverse proxy to keep the main domain url.
Kind regards.
@jonathan-arenas commented on GitHub (Oct 17, 2023):
Anyone know how it configure? Thank you.
@fkpp commented on GitHub (Oct 23, 2023):
Hi,
not sure if I understand your demand correct. But have you had a look in your ingress configuration?
You could simply change the value after 'callback'.
I am for instance returning the full URI to be redirected to after login:
nginx.ingress.kubernetes.io/server-snippet: | error_page 401 = @login; location @login { return 302 https://another-ldap.your.domain/?protocol=$pass_access_scheme&callback=$host$request_uri; }