@ -314,7 +314,7 @@ async function routes(app: FastifyInstance) {
schema:{
summary:'Get the security configuration',
description:
'Most of this is applied when the HTTP server starts, so changing it takes effect on the next restart.',
'Response headers, CSP, HSTS, CORS and `uploadMaxFileSize` are applied when the HTTP server starts, so changing those takes effect on the next restart. The rest is read per request.',
tags:['System'],
response:{
200:{$ref:'SecurityConfig#'}
@ -338,7 +338,7 @@ async function routes(app: FastifyInstance) {
schema:{
summary:'Update the security configuration',
description:
'Accepts any subset of the fields. Header, CORS and proxy settings are read when the HTTP server starts and therefore apply after a restart.',
'Accepts any subset of the fields. Response headers, CSP, HSTS, CORS and `uploadMaxFileSize` are read when the HTTP server starts and therefore apply after a restart; `trustProxy`, `forceAssetDownload` and the rate limit are read per request and apply at once.',
"admin.security.rateLimitRecommended":"Keeping rate limiting enabled is highly recommended: without it, passwords, second factors and page passwords can be guessed as fast as the server will answer.",
"admin.security.rateLimitWindow":"Time Window",
"admin.security.rateLimitWindowHint":"How long attempts are counted over, as a duration — 30s, 5m, 2h, 1d. Going over the limit within it earns a ban.",
"admin.security.restartRequired":"Header, CORS and proxy settings are applied when the server starts, so they take effect after a restart.",
"admin.security.restartRequired":"Takes effect after a server restart.",
"admin.security.saveFailed":"Failed to save the security configuration.",
"admin.security.scanSVG":"Scan and Sanitize SVG Uploads",
@ -941,7 +941,7 @@
"admin.security.trustProxyHint":"Should be enabled when using a reverse-proxy like nginx, apache, CloudFlare, etc in front of Wiki.js. Turn off otherwise.",
"admin.security.uploads":"Uploads",
"admin.security.uploadsInfo":"These settings only affect Wiki.js. If you're using a reverse-proxy (e.g. nginx, Apache, Cloudflare), you must also change its settings to match.",
"admin.security.uploadsNotEnforced":"These limits are saved but not enforced yet: uploading is not implemented.",
"admin.security.uploadsNotEnforced":"The batch limit and the SVG scan are saved but not enforced yet. The maximum file size is.",
"admin.security.warn":"Make sure to understand the implications before turning on / off a security feature.",
"admin.sites.activate":"Activate Site",
"admin.sites.activateConfirm":"Are you sure you want activate site {siteTitle}? The site will become accessible to users with read access.",