Nexcloud AIO behind an external apache reverse proxy. Remote IP: 127.0.0.1

I reply to myself…
I finally found in Remote Address is localhost (127.0.0.1) why? - #4 by scubamuc that the following commands solve it :
docker exec --user www-data -it nextcloud-aio-nextcloud \
php occ config:system:set forwarded_for_headers 0 --value="HTTP_X_FORWARDED_FOR"

docker exec --user www-data -it nextcloud-aio-nextcloud \
php occ config:system:set forwarded_for_headers 1 --value="HTTP_X_REAL_IP"