# 优化我的 Discourse 论坛需要安装 NGINX 和 PHP 吗？

**URL:** <https://meta.discourse.org/t/do-i-need-to-install-nginx-and-php-to-optimize-my-discourse-forum/218816>\
**Category:** Self-hosting\
**Created:** [2022年二月19日 15:10 UTC](https://meta.discourse.org/t/do-i-need-to-install-nginx-and-php-to-optimize-my-discourse-forum/218816 "2022-02-19T15:10:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年二月19日 15:49 UTC](https://meta.discourse.org/t/do-i-need-to-install-nginx-and-php-to-optimize-my-discourse-forum/218816/3 "2022-02-19T15:49:33Z")

</div>

这有什么用吗？

> [@Change the maximum attachment/upload size](https://meta.discourse.org/t/changing-max-attachment-size/26435):
>
> bookmark This guide explains how to change the maximum attachment upload size for self-hosted Discourse instances. person_raising_hand Required user level: System Admin The default attachment upload size limit is 10MB If you are self-hosting Discourse and need to allow uploads larger than 10 MB, follow the steps below. Changing the upload size Connect to your server: Use SSH to access your server’s command line interface. Edit the configuration file: Navigate to the configurati…

NGINX 已经在标准安装的容器中了。👍

---

_[View the full topic](https://meta.discourse.org/t/do-i-need-to-install-nginx-and-php-to-optimize-my-discourse-forum/218816)._
