Jump to content
We've recently updated our Privacy Statement, available here ×

prageethpmplus

Members
  • Posts

    1
  • Joined

  • Last visited

prageethpmplus's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, i have several instances of dockerized jasperserver instances. They are running on the same server on different port. On the same server i also has a nginx server running too. i have following settings on Dockerfile to host http://xx.xx.xx.xx/ instead of http://xx.xx.xx.xx/jasperserver. Dockerfile RUN rm -rf /usr/local/tomcat/webapps/ROOT RUN mv /usr/local/tomcat/webapps/jasperserver /usr/local/tomcat/webapps/ROOT RUN rm -r /usr/local/tomcat/work web.xml <context-param> <param-name>webAppRootKey</param-name> <param-value>ROOT.root</param-value> </context-param> My environments are as follows. InstanceEnvironmenthttp://xx.xx.xx.xx:13425devhttp://xx.xx.xx.xx:13427qahttp://xx.xx.xx.xx:13429ops So when i point to http://xx.xx.xx.xx:13429/ . i can login to jasperserver with credentiuals. My next step is to access jasperver via nginx. This is my location block for ops env. location /reporting-ops/ { proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme; rewrite ^/reporting-ops/(.*) /$1 break; proxy_redirect off; proxy_pass http://xx.xx.xx.xx:13429/$1; } when i type http://xx.xx.xx.xx/reporting-ops/ on the browser i get redirected. (Please see image) i have done same kind of url rewriting for other appl;ications and they work fine. So i assume this must be something to do with jasperserver. Thank you Very much.
×
×
  • Create New...