You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest a simple feature making possible to expose s-pdf behind a reverse proxy using subfolders.
I managed to make this work on a test container by simply adding server.servlet.context-path=${CONTEXT_PATH:/} to application.properties.
With this, if I run the container with option -e CONTEXT_PATH=/s-pdf, the webapp is fully accessible from mydomain.com/s-pdf
If no option is passed, it keeps the default root path /.
I'm very new to git so I hope this is an appropriate contribution !
The text was updated successfully, but these errors were encountered:
Hi,
I would like to suggest a simple feature making possible to expose s-pdf behind a reverse proxy using subfolders.
I managed to make this work on a test container by simply adding
server.servlet.context-path=${CONTEXT_PATH:/}
to application.properties.With this, if I run the container with option -e CONTEXT_PATH=/s-pdf, the webapp is fully accessible from mydomain.com/s-pdf
If no option is passed, it keeps the default root path /.
I'm very new to git so I hope this is an appropriate contribution !
The text was updated successfully, but these errors were encountered: