Serving Atoti on a subpath
Atoti can be served on a subpath using a reverse proxy. To do so:
- Set the
server.forward-headers-strategy
property toFRAMEWORK
. - Configure the reverse proxy to add the
X-Forwarded-Prefix /path/to/atoti
header to requests it sends to Atoti. For security, note that the reverse proxy should also be configured to removeX-Forwarded
headers from incoming requests. See the Spring documentation for more information.
Atoti can now be accessed at http://<host>/path/to/atoti/
, where <host>
depends on the reverse proxy configuration.