Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello! Please:
After config my domain on my Droplet I would like redirect to MyProject. I’m trying redirect the request from port 80 to tomcat 8080. In tomcat 8080 I deployed my JSF project, folder webapps.
So I did (sites-available/000-default-sites.config):
<VirtualHost *:80>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
And works fine. The browser show me the tomcat’s default page (mydomain.com). And if complete the URL in browser as mydomain.com/Myproject, works too and MyProject run.
So I tried:
sudo a2enmod proxy
sudo a2enmod proxy_http
service apache2 restart
<VirtualHost *:80>
ProxyPass /MyProject http://localhost:8080/MyProject/
ProxyPassReverse /MyProject http://localhost:8080/MyProject/
</VirtualHost>
or
<VirtualHost *:80>
ProxyPass / http://localhost:8080/MyProject/
ProxyPassReverse / http://localhost:8080/MyProject/
</VirtualHost>
The browser display MyProject, but does not load the CSS, JSF Components or images, just display a simple white page, with fields to input my user, password and button. After click button to login, the Project does not works.
What I did wrong?
Thank you!
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2