Files
LMS/web/src/main/resources/application.yml
Vladislav Kopnin 6246d4c8d3 Materials: images with captions and video support
- markdown: new directives `:::figure assets/x.png | Подпись` and
  `:::video assets/x.mp4 | Подпись` rendered as figure/figcaption and a
  video player (works with HTML escaping on); sanitizer allows video/source/
  track/figure with safe attributes only
- assets: video extensions (mp4/webm/ogg) allowed, separate limits — images
  up to 10 MB, video up to 100 MB; correct content types
- upload limits raised: web/academic multipart 120 MB per file / 200 MB per
  request, nginx client_max_body_size 200m (covers media inside ZIP imports)
- docs: new docs/06-authoring.md (markdown, images, video, assets, limits,
  import semantics); import message now says "медиафайлов"
2026-09-17 15:44:16 +03:00

33 lines
666 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
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