mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
docs: improve env var description
Co-authored-by: Martin <github@diemattels.at>
This commit is contained in:
@@ -55,7 +55,7 @@ There are a few variables that you need to set:
|
||||
This option enables the mobile view for the Office Web App and only applies to OnlyOffice. While OnlyOffice `ce` supports mobile view mode only, the `ee` and `de` versions support mobile view in both view and edit modes. Set the product edition accordingly via `COLLABORATION_APP_PRODUCT_EDITION`.
|
||||
|
||||
* `COLLABORATION_WOPI_DISABLED_EXTENSIONS`:\
|
||||
List of extensions to disable. If an extension is disabled, it will not be available to the office web frontend.
|
||||
List of extensions to disable: Disabling an extension will make it unavailable to the Office web front end.
|
||||
For example: `COLLABORATION_WOPI_DISABLED_EXTENSIONS=docx,xlsx,pptx`.
|
||||
|
||||
The application can be customized further by changing the `COLLABORATION_APP_*` options to better describe the application.
|
||||
|
||||
@@ -9,5 +9,5 @@ type Wopi struct {
|
||||
ProxyURL string `yaml:"proxy_url" env:"COLLABORATION_WOPI_PROXY_URL" desc:"The URL to the ownCloud Office365 WOPI proxy. Optional. To use this feature, you need an office365 proxy subscription. If you become part of the Microsoft CSP program (https://learn.microsoft.com/en-us/partner-center/enroll/csp-overview), you can use WebOffice without a proxy." introductionVersion:"7.0.0"`
|
||||
ProxySecret string `yaml:"proxy_secret" env:"COLLABORATION_WOPI_PROXY_SECRET" desc:"Optional, the secret to authenticate against the ownCloud Office365 WOPI proxy. This secret can be obtained from ownCloud via the office365 proxy subscription." introductionVersion:"7.0.0"`
|
||||
ShortTokens bool `yaml:"short_tokens" env:"COLLABORATION_WOPI_SHORTTOKENS" desc:"Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured." introductionVersion:"7.0.0"`
|
||||
DisabledExtensions []string `yaml:"disabled_extensions" env:"COLLABORATION_WOPI_DISABLED_EXTENSIONS" desc:"List of extensions to disable. If an extension is disabled, it will not be available to the office web frontend." introductionVersion:"curie"`
|
||||
DisabledExtensions []string `yaml:"disabled_extensions" env:"COLLABORATION_WOPI_DISABLED_EXTENSIONS" desc:"List of extensions to disable: Disabling an extension will make it unavailable to the Office web front end. The list is comma-separated with no spaces between the items, such as 'docx,xlsx,pptx'." introductionVersion:"curie"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user