服务器配置
This commit is contained in:
1 parent
a1b4a63552
commit
fa7c8244b0
33 files changed
+1882
-363
No files matched your search
+47
-16
@@ -88,8 +88,8 @@
|
||||
}
|
||||
},
|
||||
"domainSeparationConfirm": {
|
||||
"title": "Save dual-domain settings?",
|
||||
"description": "After saving, only the site URL can serve the admin UI and API, and only the image URL can serve public image links. Access via IP, an unlisted Host, or a reverse proxy that does not forward Host correctly may lock you out of the admin UI.\n\nIf locked out, run docker exec pichost clear-domains (local dev: npm run clear-domains), or disable domain separation in Settings when you can access it again.\n\nSave anyway?",
|
||||
"title": "Save separated-domain settings?",
|
||||
"description": "After saving, the admin URL serves the admin UI and API, while the image, video and file URLs serve only their corresponding media links. Access via IP, an unlisted Host, or a reverse proxy that does not forward Host correctly may lock you out of the admin UI.\n\nIf locked out, run docker exec pichost clear-domains (local dev: npm run clear-domains), or disable domain separation in Settings when you can access it again.\n\nSave anyway?",
|
||||
"confirm": "Save anyway"
|
||||
},
|
||||
"setup": {
|
||||
@@ -99,9 +99,9 @@
|
||||
"passwordPlaceholder": "Set login password",
|
||||
"confirmPlaceholder": "Enter password again",
|
||||
"allowRegistration": "Allow user registration",
|
||||
"domainSeparation": "Separate admin and image domains",
|
||||
"domainSeparationHint": "Admin and API use the site URL; image links use a dedicated image URL",
|
||||
"domainSeparationProxyHint": "Point both domains to this host and reverse-proxy to port 6892 (Nginx, Caddy, NPM, etc.)",
|
||||
"domainSeparation": "Separate admin, image, video and file domains",
|
||||
"domainSeparationHint": "Allow admin, images, videos and files to each use a dedicated domain.",
|
||||
"domainSeparationProxyHint": "Point the configured domains to this host and reverse-proxy to port 6892 (Nginx, Caddy, NPM, etc.)",
|
||||
"domainSeparationProxyExample": "View example",
|
||||
"siteBaseUrl": "Site URL",
|
||||
"siteBaseUrlHint": "No trailing slash; admin UI and API upload endpoint",
|
||||
@@ -109,7 +109,13 @@
|
||||
"imageBaseUrl": "Image URL",
|
||||
"imageBaseUrlHint": "No trailing slash; public image link prefix",
|
||||
"imageBaseUrlPlaceholder": "https://pic.example.com",
|
||||
"domainSeparationInvalid": "Enter valid site and image URLs with different hostnames",
|
||||
"videoBaseUrl": "Video URL",
|
||||
"videoBaseUrlHint": "No trailing slash; falls back to the image URL when empty",
|
||||
"videoBaseUrlPlaceholder": "https://video.example.com",
|
||||
"fileBaseUrl": "File URL",
|
||||
"fileBaseUrlHint": "No trailing slash; falls back to the image URL when empty",
|
||||
"fileBaseUrlPlaceholder": "https://file.example.com",
|
||||
"domainSeparationInvalid": "Enter valid admin, image, video and file URLs",
|
||||
"migrateSubmit": "Complete migration",
|
||||
"initSubmit": "Create and continue",
|
||||
"migrateSuccess": "Migration complete",
|
||||
@@ -326,7 +332,7 @@
|
||||
"pageTitle": "Settings & preferences",
|
||||
"pageSubtitle": "Manage system configuration and activity logs",
|
||||
"pageSubtitleBasic": "Configure basic options so PicHost works better for you.",
|
||||
"pageSubtitleDomains": "Configure site and image URLs and upload path rules",
|
||||
"pageSubtitleDomains": "Configure admin, image, video and file domains plus path rules",
|
||||
"pageSubtitleAccess": "Configure image access policies to prevent hotlink abuse",
|
||||
"pageSubtitleLogs": "View uploads, deletions, edits, and configuration changes",
|
||||
"searchPlaceholder": "Search settings…",
|
||||
@@ -337,11 +343,20 @@
|
||||
"defaultCopyFormatHint": "Link format copied automatically after upload",
|
||||
"systemVersionHint": "Currently running PicHost version",
|
||||
"badgeEnabled": "Enabled",
|
||||
"domainSeparationProxyTitle": "Both domains must resolve to this host",
|
||||
"domainSeparationProxyBody": "Point the site and image URLs to this host and reverse-proxy to port 6892 (Nginx, Caddy, NPM, etc.).",
|
||||
"siteBaseUrlRoleHint": "URL for the admin UI",
|
||||
"imageBaseUrlRoleHint": "URL for serving and displaying images",
|
||||
"imageDomainSection": "Image domain",
|
||||
"domainSeparationProxyTitle": "Configured domains must resolve to this host",
|
||||
"domainSeparationProxyBody": "Point the admin and configured image, video and file domains to this host and reverse-proxy to port 6892 (Nginx, Caddy, NPM, etc.).",
|
||||
"siteBaseUrlRoleHint": "Admin and API use this domain; resources use it when their switches are off",
|
||||
"imageBaseUrlRoleHint": "Use this domain for images when on; use the site domain when off",
|
||||
"resourceDomainSection": "Resource domains",
|
||||
"videoBaseUrl": "Video URL",
|
||||
"videoBaseUrlRoleHint": "Use this domain for videos, HLS and thumbnails when on; use the site domain when off",
|
||||
"videoBaseUrlPlaceholder": "https://video.example.com",
|
||||
"videoBaseUrlActive": "Active: {url}",
|
||||
"fileBaseUrl": "File URL",
|
||||
"fileBaseUrlRoleHint": "Use this domain for file links and downloads when on; use the site domain when off",
|
||||
"fileBaseUrlPlaceholder": "https://file.example.com",
|
||||
"fileBaseUrlActive": "Active: {url}",
|
||||
"fallbackImageDomain": "Uses image URL",
|
||||
"navBasic": "Basic",
|
||||
"navDomains": "Domains & paths",
|
||||
"navAccess": "Access control",
|
||||
@@ -402,7 +417,7 @@
|
||||
"defaultCopyFormat": "Default copy format",
|
||||
"refererPlaceholder": "example.com, www.example.com",
|
||||
"domainSettings": "Domain settings",
|
||||
"domainSeparationActive": "Domain separation enabled: image host serves images only; site host serves admin and API",
|
||||
"domainSeparationActive": "Domain separation enabled: admin, images, videos and files can use dedicated domains",
|
||||
"siteBaseUrl": "Site URL",
|
||||
"siteBaseUrlHint": "No trailing slash; admin UI and API upload endpoint",
|
||||
"siteBaseUrlPlaceholder": "https://admin.example.com",
|
||||
@@ -412,13 +427,17 @@
|
||||
"imageBaseUrlSingleHint": "No trailing slash; leave empty to use the current request host; single-domain setups do not need a site URL",
|
||||
"imageBaseUrlPlaceholder": "https://pic.example.com",
|
||||
"imageBaseUrlActive": "Active: {url}",
|
||||
"resourceBaseUrl": "Domain",
|
||||
"resourceBaseUrlSingleHint": "No trailing slash; leave empty to use the current request host. When domain separation is off, this domain serves images, videos and files.",
|
||||
"resourceBaseUrlPlaceholder": "https://cdn.example.com",
|
||||
"resourceBaseUrlActive": "Current resource domain: {url}",
|
||||
"runtimeDetected": "Detected current access: {url} (will not be saved automatically)",
|
||||
"fillDetectedOrigin": "Use detected URL",
|
||||
"hostRoleUnknown": "Current Host does not match configured domains; reverse-proxy bypass may be possible",
|
||||
"disableDomainSeparationTitle": "Disable domain separation",
|
||||
"disableDomainSeparationDesc": "This clears the site URL and keeps only the image URL. Continue?",
|
||||
"disableDomainSeparationDesc": "This clears the admin URL and keeps the image, video and file URLs. Continue?",
|
||||
"disableDomainSeparationConfirm": "Disable",
|
||||
"domainSeparationRequired": "Both site and image URLs are required when domain separation is enabled",
|
||||
"domainSeparationRequired": "Admin and image URLs are required when domain separation is enabled",
|
||||
"hideFolderInUrl": "Use short image links",
|
||||
"hideFolderInUrlHint": "When on, links are only domain + filename, e.g. img.example.com/abc.webp. When off, date or custom folders are kept, e.g. img.example.com/2026/08/abc.webp",
|
||||
"storageUseDatePath": "Group uploads by year/month",
|
||||
@@ -445,6 +464,7 @@
|
||||
"uploadLimits": "Upload limits",
|
||||
"uploadLimitsHint": "Site-wide upload policy and your personal convenience options. Applies after save.",
|
||||
"imageProcessingHint": "Site-wide format conversion and personal compression/cleanup.",
|
||||
"videoProcessingHint": "Site-wide transcode resources and personal video upload preferences, shared with the video upload page.",
|
||||
"serverPolicy": "Site-wide",
|
||||
"personalPreference": "Personal",
|
||||
"uploadRateGroup": "Upload rate limits",
|
||||
@@ -453,6 +473,12 @@
|
||||
"uploadMaxFileSizeHint": "Uploads larger than this are rejected (1–100 MB).",
|
||||
"allowedMimeTypes": "Allowed image formats",
|
||||
"allowedMimeTypesHint": "Keep at least one format enabled. The server validates file signatures, not just extensions.",
|
||||
"allowedVideoExtensions": "Allowed video formats",
|
||||
"allowedVideoExtensionsHint": "Keep at least one video container enabled. Both the upload page and server enforce this list.",
|
||||
"forbiddenFileExtensions": "Forbidden file formats",
|
||||
"forbiddenFileExtensionsHint": "These extensions are rejected by the file upload page and server. You can add custom extensions.",
|
||||
"forbiddenFileExtensionsCustomPlaceholder": "Add extensions, e.g. exe, php",
|
||||
"forbiddenFileExtensionsAdd": "Add",
|
||||
"preserveOriginalUpload": "Preserve originals (disable WebP conversion)",
|
||||
"preserveOriginalUploadHint": "When enabled, JPEG/PNG/GIF uploads are stored as-is instead of converting to WebP.",
|
||||
"rateLimits": "Rate limits",
|
||||
@@ -1129,7 +1155,9 @@
|
||||
"copyLink": "Copy link",
|
||||
"download": "Download",
|
||||
"deleted": "Deleted",
|
||||
"deleteFailed": "Delete failed"
|
||||
"deleteFailed": "Delete failed",
|
||||
"videoFormatBlocked": "{format} videos are not allowed",
|
||||
"fileFormatBlocked": "{format} files are not allowed"
|
||||
},
|
||||
"host": {
|
||||
"video": "Video",
|
||||
@@ -1173,6 +1201,8 @@
|
||||
"uploadTitle": "Drop files here to upload",
|
||||
"uploadHint": "or click to choose files, up to 10 at a time",
|
||||
"uploadFormats": "Any type allowed (HTML / HTM / SVG blocked), up to 100MB per file",
|
||||
"uploadFormatsBlocked": "{formats} blocked; other file types allowed, up to 100MB per file",
|
||||
"uploadFormatsUnrestricted": "Any file type allowed, up to 100MB per file",
|
||||
"empty": "No files yet — upload one to get started"
|
||||
},
|
||||
"video": {
|
||||
@@ -1196,6 +1226,7 @@
|
||||
"uploadTitle": "Drop videos here to upload",
|
||||
"uploadHint": "or click to choose video files, up to 10 at a time",
|
||||
"uploadFormats": "MP4 / WebM / MOV / MKV and more, up to 100MB per file",
|
||||
"uploadFormatsAllowed": "{formats} supported, up to 100MB per file",
|
||||
"empty": "No videos yet — upload one to get started"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user