(Tested working fine with the following)
Enable the following modules:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
First we need to add the following to virtual host definition in httpd.conf of Apache Server
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
Example:
<VirtualHost *:8080>
ProxyPass / http://127.0.0.1:8081/example/ # Spring Boot Application URL
ProxyPassReverse / http://127.0.0.1:8081/example/ # Spring Boot Application URL
</VirtualHost>
No comments:
Post a Comment