EasyEngine / EasyEngine/easyengine
Update client_max_body_size in latest version of easy engine has no effect.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PHP
- Sterne
- 2.2k
- Forks
- 423
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I can't find any way to reliably update the max upload size for wordpress using the latest version of easy engine.
Tried the same stuff as mentioned here: https://github.com/EasyEngine/easyengine/discussions/1630
But after modifying custom.ini for php and user.conf for nginx, I still get 413 (Request entity too large).
After modifying user.conf for nginx and reloading the site I get the error:
Reloading nginx
2023/05/08 12:47:07 [emerg] 19#19: "client_max_body_size" directive is duplicate in /usr/local/openresty/nginx/conf/custom/user.conf:2
nginx: [emerg] "client_max_body_size" directive is duplicate in /usr/local/openresty/nginx/conf/custom/user.conf:2
nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test failed
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Überprüfung des Konfigurationsansatzes in Diskussion 1630 und untersuche custom.ini, user.conf sowie die generierte nginx-Konfiguration. Verfolge, warum client_max_body_size dupliziert wird, nachdem user.conf geändert wurde; abgeschlossen ist die Aufgabe, wenn die nginx-Konfigurationsprüfung und der Reload erfolgreich sind und WordPress die vorgesehene größere Upload-Größe akzeptiert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- nginx, php, wordpress
- Bereich
- devops, infrastructure, web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100