How i can integrate the flowable admin+modeler+task+idm with nginx server?

Hi ,

By default all of my flowable admin+modeler+task+idm running under tomcat with full address


If i want to publish it with my nginx server with the url like


Can you guide or show me the link or tutorial to setup it ? thanks .



I don’t expert in nginx but, I think include in nginx.conf:

server {
server_name modeler.localhost;
rewrite ^ http://localhost:8080/flowable-modeler;

server {
	server_name 	idm.localhost;
	rewrite ^ http://localhost:8080/flowable-idm;

server {
	server_name 	task.localhost;
	rewrite ^ http://localhost:8080/flowable-task;

server {
	server_name 	admin.localhost;
	rewrite ^ http://localhost:8080/flowable-admin;

	server {
	server_name 	rest.localhost;
	rewrite ^ http://localhost:8080/flowable-rest;

Change localhost for your domain.

I configured it in apache using ajp… It might give you some ideas:

tell flowable to use the proxy:

configure apache:

   ServerName flowable

   ProxyRequests Off
   ProxyPreserveHost On

   RewriteEngine On
   RewriteCond %{QUERY_STRING} ^$
   RewriteRule ^/$

   ErrorLog /var/log/httpd/tomcat.error.log
   CustomLog /var/log/httpd/tomcat.log combined

   <Proxy *>
           Order deny,allow
           Allow from all

   ProxyPass / ajp://localhost:8009/
   ProxyPassReverse / ajp://localhost:8009/