mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-14 23:25:10 +00:00
deploy: a094d922c9
This commit is contained in:
@@ -5924,6 +5924,13 @@ Setting this to a high value allows users to report content quickly, possibly in
|
||||
<pre><code class="language-yaml">enable_media_repo: false
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h3 id="enable_local_media_storage"><a class="header" href="#enable_local_media_storage"><code>enable_local_media_storage</code></a></h3>
|
||||
<p><em>(boolean)</em> Enable the local on-disk media storage provider. When disabled, media is stored only in configured <code>media_storage_providers</code> and temporary files are used for processing.
|
||||
<strong>Warning:</strong> If this option is set to <code>false</code> and no <code>media_storage_providers</code> are configured, all media requests will return 404 errors as there will be no storage backend available. Defaults to <code>true</code>.</p>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">enable_local_media_storage: false
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h3 id="media_store_path"><a class="header" href="#media_store_path"><code>media_store_path</code></a></h3>
|
||||
<p><em>(string)</em> Directory where uploaded images and attachments are stored. Defaults to <code>"media_store"</code>.</p>
|
||||
<p>Example configuration:</p>
|
||||
|
||||
@@ -2010,6 +2010,14 @@
|
||||
false
|
||||
]
|
||||
},
|
||||
"enable_local_media_storage": {
|
||||
"type": "boolean",
|
||||
"description": "Enable the local on-disk media storage provider. When disabled, media is stored only in configured `media_storage_providers` and temporary files are used for processing.\n**Warning:** If this option is set to `false` and no `media_storage_providers` are configured, all media requests will return 404 errors as there will be no storage backend available.",
|
||||
"default": true,
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"media_store_path": {
|
||||
"type": "string",
|
||||
"description": "Directory where uploaded images and attachments are stored.",
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -2003,6 +2003,13 @@ Setting this to a high value allows users to report content quickly, possibly in
|
||||
<pre><code class="language-yaml">enable_media_repo: false
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h3 id="enable_local_media_storage"><a class="header" href="#enable_local_media_storage"><code>enable_local_media_storage</code></a></h3>
|
||||
<p><em>(boolean)</em> Enable the local on-disk media storage provider. When disabled, media is stored only in configured <code>media_storage_providers</code> and temporary files are used for processing.
|
||||
<strong>Warning:</strong> If this option is set to <code>false</code> and no <code>media_storage_providers</code> are configured, all media requests will return 404 errors as there will be no storage backend available. Defaults to <code>true</code>.</p>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">enable_local_media_storage: false
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h3 id="media_store_path"><a class="header" href="#media_store_path"><code>media_store_path</code></a></h3>
|
||||
<p><em>(string)</em> Directory where uploaded images and attachments are stored. Defaults to <code>"media_store"</code>.</p>
|
||||
<p>Example configuration:</p>
|
||||
|
||||
Reference in New Issue
Block a user