Possible to set-up Anubis in specific "behind a RP" config ? #562
-
Hello, I'd like to implement Anubis in my current server configuration but I don't know whether or not it's possible : User Machine -> Reverse Proxy with HTTPS and the SSL certificate -> VM with both Anubis and my Java Website Due to complicated obligations in my organisation, I can't move my VM with my Java Website to the Reverse Proxy and I can't install anything on the Reverse Proxy with HTTPS and the SSL certificate. With Apache2, I've tried something like :
But after the challenge I end up with the following error : 502 Bad Gateway I'm using Apache2 and Debian, and Anubis 1.18.0. I'm not sure whether or not what I'm trying to do is feasible, maybe I'm simply stuck and my only solution would currently be to restrict IP traffic to internal IPs :-/ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, it should be possible to run Anubis in your case, at least from the description you've given. If the reverse proxy can reach the Java server, it should also have no issue reaching Anubis, which can forward to the Java server. Thus from the reverse proxy's perspective, it does not even need to know Anubis is there. (Whether that's the setup you decide to go with is up to you; that's just a proof-of-concept that it is possible.) The 502 error likely means one of your services can't reach the next one. It could be a firewall/subnet issue, or it could just be as simple as getting the ports wrong. |
Beta Was this translation helpful? Give feedback.
-
Just got everything up and working ! |
Beta Was this translation helpful? Give feedback.
Yes, it should be possible to run Anubis in your case, at least from the description you've given. If the reverse proxy can reach the Java server, it should also have no issue reaching Anubis, which can forward to the Java server. Thus from the reverse proxy's perspective, it does not even need to know Anubis is there. (Whether that's the setup you decide to go with is up to you; that's just a proof-of-concept that it is possible.)
The 502 error likely means one of your services can't reach the next one. It could be a firewall/subnet issue, or it could just be as simple as getting the ports wrong.