Server settings that Spring boot inserts are available as application properties ( specified here in the # EMBEDDED SERVER CONFIGURATION section and in the server.session.cookie.* Namespace).
The equivalent of Tomcat configuration above should be:
# properties in /src/resources/application.properties server.session.cookie.domain=.XXXX.com server.session.cookie.http-only=true server.session.cookie.path=/
sthzg source share