# 图片和上传文件存储在哪里？

**URL:** https://meta.discourse.org/t/where-are-images-and-uploads-stored/317601
**Category:** Support
**Tags:** uploads
**Created:** [2024 年7 月 22 日 16:01 UTC](https://meta.discourse.org/t/where-are-images-and-uploads-stored/317601 "2024-07-22T16:01:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2024 年7 月 22 日 16:16 UTC](https://meta.discourse.org/t/where-are-images-and-uploads-stored/317601/2 "2024-07-22T16:16:35Z")

</div>

如果您是自托管的，它们通常存储在运行 Discourse 的同一虚拟机上。您还可以[为上传配置 S3 兼容对象存储提供商](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916)。除非您期望用户将视频上传到 Vimeo 或其他平台并分享链接，否则（大部分？）无法使用这些（但曾经可以？[使用主题组件将视频上传到 YouTube 和 Vimeo](https://meta.discourse.org/t/video-upload-to-youtube-and-vimeo-using-theme-component/170079)）。

默认情况下，链接的图片会被下载到本地存储，以便即使源文件消失，它们也能继续存在。

---

_[View the full topic](https://meta.discourse.org/t/where-are-images-and-uploads-stored/317601)._
