- 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 "медиафайлов"
33 lines
666 B
YAML
33 lines
666 B
YAML
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
|