vHost dont work with proxy enabled

Hey, I have an Apache2.4 Webserver with a Wordpress Blog on my Rootdomain and www Subdomain. On the mail Subdomain I have a reversed proxy configured to a mailcow (nginx) Docker Container. All this is on the same IP and Domain. My problem is that if I enable the orange cloud (proxy) on the Domains configured for my blog everything is redirected to the content of the reserve proxy (mail.example.com). If no proxy is enabled, the content is redirecting to the assigned Domains. I am on SSL/TLS mode Full. Would it might be work with nginx? Thank you for your ideas!
4 Replies
maximilian199725
maximilian199725OP16mo ago
No idea? I need help
Cyb3r-Jak3
Cyb3r-Jak316mo ago
I’m confused. Do you have nginx and apache running in parallel?
maximilian199725
maximilian199725OP16mo ago
nginx is in the mailcow docker container Image. It is forwarded from the apache as reverse proxy. In the frontend is only the apache
Cyb3r-Jak3
Cyb3r-Jak316mo ago
I would check the apache access logs when it is proxied.
Want results from more Discord servers?
Add your server