App on Tomcat behind Nginx -


i have app running on tomcat on port 8080 behind nginx. have been following digitalocean on setting tomcat & nginx page setting tomcat behind nginx

i have "myapp" deployed on tomcat. can access @ http://floatingip/myapp/ (with no images showing) when go deeper below myapp path "myapp/login" path 404.

in past have tried other stuff:

    location / { #put in me proxy_set_header x-forwarded-host $host; proxy_set_header x-forwarded-server $host; proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for; proxy_pass http://127.0.0.1:8080/; } 

do need each app in nginx?

thanks

i did try posted there "location /" , worked images not showing on pages. not big deal find out missing show jpeg files.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -