Wrong URL ander apache proxy

Hello all. The OwnCloud server is on the virtual machine having the address If you go from the local network works fine, BUT if from the Internet somethink wrong, I have configured Apache2 proxy on the main OS (which runs VBox) , then the wrong address is generated, here’s an example:
Local, type in addr string in firefox/ie: “” -> Enter, new addr after load page: “” and works fine.
Internet, types cloud.mysite.ru -> Enter, new addr string = “https://cloud.mysite.rulogin” (Wgere the “/” symbol???)
Apache2 config:

<VirtualHost *:80>
ServerName cloud.mysite.ru
Redirect permanent / https://cloud.mysite.ru/

<VirtualHost *:443>
SSLEngine On
SSLCertificateFile ...
SSLCertificateKeyFile ...
SSLCertificateChainFile ...
SSLCACertificateFile ...
ServerName cloud.mysite.ru
ProxyPass /
ProxyPassReverse /

Problem SOLVED. Solution (int config.php):

'thrusted_proxies' => ['IP ADDR Proxy machine'],
'overwritehost' => 'cloud.mysite.ru',
'overwriteprotocol' => 'https',

then exe

occ maintenance:update:thaccess
1 Like