# 用 nginx 提供图片来保护独角兽？

**URL:** <https://meta.discourse.org/t/conserving-unicorns-by-serving-images-with-nginx/177775>\
**Category:** Development\
**Created:** [2021年一月30日 14:13 UTC](https://meta.discourse.org/t/conserving-unicorns-by-serving-images-with-nginx/177775 "2021-01-30T14:13:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2021年一月30日 15:16 UTC](https://meta.discourse.org/t/conserving-unicorns-by-serving-images-with-nginx/177775/4 "2021-01-30T15:16:50Z")

</div>

如果您想帮助您的独角兽实例，一个真正有效的方法是[为您的 Discourse 启用 CDN](https://meta.discourse.org/t/enable-a-cdn-for-your-discourse/14857)，因为它可以缓存在独角兽实例上提供的少量资源，例如样式表。

---

_[View the full topic](https://meta.discourse.org/t/conserving-unicorns-by-serving-images-with-nginx/177775)._
