How to set up Anubis to use the same URL as the protected website(s)? #1445
Unanswered
Viable8237
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I set up Anubis with Traefik and based on the docs I set the host to
Host(`anubis.$DOMAIN`)and public URL toanubis.$DOMAIN. This works but what happens is that when accessing a website protected by the Anubis instance I get redirected tohttps://anubis.$DOMAINand then back to the website so the whole flow looks like this:https://site1.$DOMAIN -> https://anubis.$DOMAIN -> https://site1.$DOMAIN.Other websites using Anubis however do not seem to work like this and Anubis uses the same URL as the protected website instead, meaning when a user accesses
https://site1.$DOMAIN, a browser first loads Anubis and then loads the website they were trying to access but all of it is happening under the same URL, there is no redirect to Anubis's own URL (e.g.https://anubis.$DOMAIN) like in my case. This also doesn't just work for one subdomain (e.g.site1.$DOMAIN) but for other subdomains as well (e.g.site2.$DOMAIN,site3.$DOMAINetc.)What changes should I make to my configuration so that Anubis always runs under the same (sub)domain as the website(s) it protects?
Here's a snippet of my Anubis setup:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions