How to setup flowable docker to look into the subpath

Hi,
I am using the flowable docker image in my app. Now I am accessing the flowable by http://example.com:4000, and I wanted to set up the flowable as to lookup at subpath like http://exmaple.com/flowable. I am able to set the proxy for redirecting the request from /flowable/ to port no. 4000, but the flowable app still looking at root path and giving 404 errors. Trying to do something like grafana in flowable

Changing these does NOT seem to work

modules/flowable-ui-modeler/flowable-ui-modeler-app/src/main/resources/flowable-default.properties

  • server.servlet.context-path

even created application.properties at modules/flowable-ui-modeler/flowable-ui-modeler-app/src/main/resources

modules/flowable-ui-edge/src/main/resources/application.yml

  • flowable_modeler > path

Tomcat Context Path /opt/tomcat/conf/server.xml

<Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
 <Context path="/workflow/flowable-idm" docBase="flowable-idm.war"/>
 <Context path="/workflow/flowable-modeler" docBase="flowable-modeler.war"/>
 <Context path="/workflow/flowable-admin" docBase="flowable-admin.war"/>
 <Context path="/workflow/flowable-task" docBase="flowable-task.war"/>
.......
</Host>

BUT I get 404 at login http://192.168.1.7:4000/workflow/app/authentication

  • also renamed WAR as workflow#flowable-idm.war and context path works but all internal links fail

Have you tried running Flowable on a context path and proxying to that instead of the root?

It’s working with proxy

ok will try that. Proxy with NGINX was because we needed SSL too