server: port: ${SERVER_PORT:8090} # За nginx: доверяем X-Forwarded-Proto/Host, чтобы редиректы были https и с верным хостом. forward-headers-strategy: framework servlet: session: timeout: 30d cookie: http-only: true same-site: lax # Прод работает по HTTPS (nginx + TLS); локально на http://localhost браузеры # тоже принимают Secure-cookie. Отключается переменной LMS_SESSION_COOKIE_SECURE=false. secure: ${LMS_SESSION_COOKIE_SECURE:true} max-age: 30d tracking-modes: cookie spring: application: name: web servlet: multipart: max-file-size: 120MB max-request-size: 200MB thymeleaf: cache: false lms: gateway: base-url: ${LMS_GATEWAY_URL:http://localhost:8080} management: endpoints: web: exposure: include: health,info