Forget it, just got it working like this
Proxy settings
<Proxy /> Order deny,allow Allow from all </Proxy> ProxyPreserveHost On ProxyPass /.well-known/acme-challenge/ ! ProxyPass / http://lucas.mgscreativa.com.ar:3080/ ProxyPassReverse / http://lucas.mgscreativa.com.ar:3080/
NextCloud config
'overwrite.cli.url' => 'https://cloud.mgscreativa.com.ar', 'overwriteprotocol' => 'https', 'overwritehost' => 'cloud.mgscreativa.com.ar', 'trusted_proxies' => array('10.0.0.77'),