Hello,

I'm running a FreeBSD 10.3 server which has an Apache 2.4.25 system
running on it. It's reverse proxying to two web servers example.com
and example2.com hosted in two separate FreeBSD jails.

I'm getting nonconsistent 502 and 503 errors when atempting to access
the systems from the outside.

For example one time I hit example.com and it works. I then go to
example2.com and get either a 502 or 503 message. I try from another
browser this time going to example2.com and it works, but then going
to example.com gives me those same 502 or 503 error messages. This
seems to be the clearest I can explain the issue.

I've included the relevant portions of the host's apache
configuration. If you need more or if anyone can see an issue please
let me know.

Thanks.
Dave.

host httpd.conf:
LoadModule proxy_module libexec/apache24/mod_proxy.so
LoadModule proxy_http_module libexec/apache24/mod_proxy_http.so

host proxy.conf:
<VirtualHost *:80>
     ServerName webmail2.example.com
     ServerAdmin webmas...@example.com
     ProxyRequests off
     ProxyPreserveHost on
     ProxyPass / http://10.0.0.15/
     ProxyPassReverse / http://10.0.0.15/
     <Proxy *>
          Require all granted
     </Proxy>
     ErrorLog /var/log/proxy/webmail2.example.com.log
     CustomLog /var/log/proxy/webmail2.example.com.custom combined
</VirtualHost>

<VirtualHost *:80>
     ServerName test.example2.com
     ServerAdmin webmas...@example2.com
     ProxyRequests off
     ProxyPreserveHost on
     ProxyPass / http://10.0.0.17/
     ProxyPassReverse / http://10.0.0.17/
     <Proxy *>
          Require all granted
     </Proxy>
     ErrorLog /var/log/proxy/test.example.com2.log
     CustomLog /var/log/proxy/test.example2.com.custom combined
</VirtualHost>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to