fix #547: secure VM deployment behind HTTPS proxy

This commit is contained in:
devmrko
2026-06-28 23:03:32 +09:00
parent e63b3af653
commit 8dc77f87ab
12 changed files with 818 additions and 3 deletions

View File

@@ -22,12 +22,21 @@ mybatis:
map-underscore-to-camel-case: true
server:
address: ${BACKOFFICE_BIND_ADDRESS:0.0.0.0}
port: ${BACKOFFICE_PORT:8080}
forward-headers-strategy: ${BACKOFFICE_FORWARD_HEADERS_STRATEGY:none}
servlet:
session:
cookie:
secure: ${BACKOFFICE_SESSION_COOKIE_SECURE:false}
http-only: true
same-site: lax
backoffice:
security:
admin-user: ${BACKOFFICE_ADMIN_USER:admin}
admin-password: ${BACKOFFICE_ADMIN_PASSWORD:admin}
require-https: ${BACKOFFICE_REQUIRE_HTTPS:false}
token:
max-days: ${BACKOFFICE_TOKEN_MAX_DAYS:365}
ords: