# 디스코스에 업로드할 수 있는 최대 파일 크기는 얼마인가요?

**URL:** <https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090>\
**Category:** Product Support\
**Created:** [4월 16, 2021, 12:13오후 UTC](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090 "2021-04-16T12:13:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**Post date:** [7월 16, 2021, 9:40오전 UTC](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090/3 "2021-07-16T09:40:54Z")

</div>

이 주제를 다시 올리는 점 죄송합니다. `max upload size`를 변경하려고 모든 방법을 시도해 보았지만, 제 인스턴스는 첨부 파일로 1MB만 허용됩니다. 10, 20MB 및 기본값으로 설정을 조정해 보았습니다.

`client_max_body_size 100m;` 설정을 적용했습니다:

```plaintext
1. 커스텀 명령어 `sed -i 's/client_max_body_size 10m;/client_max_body_size 100m;/g' /etc/nginx/conf.d/discourse.conf` 사용
2. app.yml에서 매개변수 `upload_size: 100m` 사용
3. 컨테이너 내부에서 수동으로 수정

```

1번과 2번은 앱을 재빌드했고, 3번은 컨테이너 내부에서 nginx를 재로드했습니다.

이것은 신규 설치 환경이며, 공식 플러그인만 사용하고 있습니다. 커스텀한 부분은 Office 365 로그인 및 자체 서명 인증서(서버가 인트라넷 내에 위치해 있고 Office 365 로그인이 https를 요구하기 때문)입니다. 로그인, 이메일 발송, 이메일 답장 등 모든 기능이 정상적으로 작동합니다. 그러나 첨부 파일 크기는 파일과 이미지 모두 최대 약 1MB로 제한되어 있습니다. 파일 유형은 `*`로 허용해 두었습니다. 외부 프록시 Nginx도 동일한 100MB 바디 사이즈 설정을 적용해 두었습니다.

정말 혼란스럽습니다. 4년 동안 Discourse를 사용해 왔는데, 제 설정이 잘못된 것인지 충돌이 있는 것인지 모르겠습니다. 먼저 무엇을 확인해야 하는지 안내해 주실 분 계신가요?

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090)._
