Nextcloud proxy website

SYSTEM INFORMATION
OS type and version UBUNTU 22.04.04
Webmin version 2.111
Virtualmin version 7.10.0
Related packages SUGGESTED

hello! First of all I know that the error is not due to Virtualmin if not to NextCloud, but in case they could help me or give a guide.
I have virtualmin, installed and configured two years ago, all perfect. Now install NextCloud on an independent machine.
My IP segment is 192.168.1.0/24. Where my virtualmin is in 192,168.1.10 and the NextCloud in 192.168.1.15. Both in Ubuntu Server 22.04
What I do is create a cloud.Midominio.com subdomain using proxy website option at http://192.168.1.15
So far it works perfect! If I enter https://cloud.midominio.com it all works perfectly from the browser.
But notice the error when I connect to desktop app.
So the proxy webiste to https://192.168.1.15 but so in the browser it does not work. Saying that I found an internal error.
What I understand so far is that no matter how much the page is loaded in https is working in port 80.
Any ideas?

https should not be on port 80. and probably you are not running https on your internal server. the proxy server will get the certificate and serve that. if you want the internal server to also use encryption you need to set it up to use a unsigned certificate. https is served over port 443 and http on port 80.

I know that, I just can’t find what the problem is. Since it is not from virtualmin or the apache in nextcloud.

Well I found the error.
I was on the nextcloud side as expected. In the config.php file of the site you must add:

‘overwrite.cli.url’ => ‘https://cloud.mydomain.com’,
‘overwriteprotocol’ => ‘https’,

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.