# Admin not accessible because of auto-minify for Cloudflare

**URL:** <https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594>\
**Category:** Self-hosting\
**Created:** [July 9, 2024, 2:24pm 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:** 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:** [July 9, 2024, 2:53pm UTC](https://meta.discourse.org/t/admin-not-accessible-because-of-auto-minify-for-cloudflare/315594/2 "2024-07-09T14:53:15Z")

</div>

Are you trying to be admin on your development environment or on a production environment?

If it’s production, then you can

```plaintext
cd /var/discourse
./launcher enter app
rake admin:create

```

For development, you should be able to do a `./bin/rake admin:create` from the discourse directory.

Having admin/root privileges on your server OS and in Discourse are two entirely different things.

---

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