I'm trying to run Mingle from a subdirectory, which doesn't work. I can't seem to find a way to configure it to do this. My nginx config is as follows:
location /mingle {proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_redirect off;proxy_set_header Host $host;proxy_pass http://127.0.0.1:8080;}Thanks
Comments
1 comment
Do you have a context path set in your mingle.properties? The above configuration will forward requests to 127.0.0.1:8080/mingle. In your mingle.properties file, if you set -Dmingle.appContext=/mingle, then this should work. If you have already done this, please provide more information, including the exact error from the logs.
Please sign in to leave a comment.