Admin not accessible because of auto-minify for Cloudflare

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

If it’s production, then you can

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.