# Cloudflare의 자동 미나피케이션으로 인해 관리자 페이지에 접근할 수 없습니다

**URL:** <https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594>\
**Category:** Self-hosting\
**Created:** [7월 9, 2024, 2:24오후 UTC](https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594 "2024-07-09T14:24:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)\
**Post date:** [7월 10, 2024, 10:16오전 UTC](https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594/4 "2024-07-10T10:16:52Z")

</div>

서버에 플러그인을 직접 업로드했다는 뜻인가요?

Discourse는 먼저 플러그인의 JavaScript 자산을 컴파일해야 합니다. 플러그인을 GitHub 저장소에 업로드하고, app.yml을 편집하여 플러그인을 추가한 다음 `./launcher rebuild app`을 실행해야 합니다.

컴파일 없이 플러그인을 플러그인 폴더에 직접 업로드하면 Discourse 프론트엔드에서 컴파일된 파일을 찾지 못해 오류가 발생합니다.

또한 서버에 Cloudflare이 활성화되어 있다면, 자동 축소(auto-minify)를 끄고 캐시를 삭제하는 것을 잊지 마세요.

> [@서버 이전 후 Discourse가 작동하지 않습니다](https://meta.discourse.org/t/discourse-broken-after-moving-servers/307476/13):
>
> Please also make sure that Cloudflare’s “auto minify” feature is disabled, and that you have purged the cache. They’ve deprecated the feature because it does not work for modern JS features (which Discourse is now using)

---

_[View the full topic](https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594)._
