Cuba platform document provides the proxy setting for Nginx.
I have developed a tool using Cuba platform. The machine I am going to deploy has an Apache Http server installed. As there is some sites running, I can’t uninstall the Apache and install Nginx.
Does anyone know how the corresponding proxy setting in Apache?
I added the following lines to a virtual host, it doesn’t work.
######################
ProxyPass “/app” “http://localhost:8080/app”
ProxyPassReverse “/app” “http://localhost:8080/app”
######################
In the Cuba Platform’s document regarding the Nginx proxy setting, I can see that it needs quite a few other settings, but I don’t know how to do them in Apache Http server.
If you have ever configured in an Apache, could you help to give me some hints? Thanks.
Hello, I had the same problem. Reverse proxy and https under Apache.
First of all I’m following DigitalOcean procedure to install Tomcat.
Besides, to reverse proxy Apache I’m using mod_proxy, not mod_jk because of the many issues I found.
Here’s an uncommented tamplate from my 000-default.conf file (rewrite rules apply for https):