Well, I did so.
here is the lines I found (not commented) in server.xml, and I add the maxPostSize line
Connector port=“8009” protocol=“AJP/1.3”
Then restart Lucee.
I tried again to upload a file of 9756Ko (9Mo), get the same error : Bad Gateway
Retrying 3mn later,
It does work without error, the file have been well upload, (I can ear it, it is a mp3).
Then I tried to upload a 20Mo, no success : error Bad Gateway
maxPostSize is : 67589953 , means around 60Mo ?
Then coming back to a 9Mo (previous file) : Error again : Bad Gateway
The proxy server received an invalid response from an upstream server.
Apache/2.4.38 (Debian) Server at botaniquesysteme.fr Port 80
What to do ? other advise,
Also, when stopping and restarting Lucce, I loose some domains from the virtual host.
They work, then they deappear, not stable. So I am afraid when stop/start Lucee.
But this is another point to see later.
When all is working, I do not touch anymore to Lucee restart.
Thanks for assistance again,