Update Dockerfile to disable AllowOverride for production, enhance admin.php to handle missing FLIXCOOKS_ADMIN_KEY with a user-friendly error page, and remove .htaccess file. Adjust documentation to reflect these changes and clarify admin key configuration.
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ curl http://127.0.0.1:8080/health.php
|
||||
## 6. Sicherheit
|
||||
|
||||
- `.env` wird **nicht** ins Image kopiert (`.dockerignore`).
|
||||
- Admin-Key **nur** über `FLIXCOOKS_ADMIN_KEY` in Coolify, nicht in `.htaccess` für Production verlassen.
|
||||
- Admin-Key **nur** über `FLIXCOOKS_ADMIN_KEY` in Coolify setzen. Ohne diese Variable ist `/admin.php` deaktiviert.
|
||||
- Postgres nicht öffentlich exponieren, wenn nicht nötig (nur interne URL).
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user