Docker: SSL Mixed Content Error, preventing Login via Client Application

Created on 30 Sep 2019  路  3Comments  路  Source: nextcloud/docker

Hi,

when you login to your Nextcloud (Server 17.0) via the Client Application (2.6.0 Windows), you can not log in due to a mixed content error.

The Button for granting access links to a http url:

````

````

Due to this, every web browser prevents submitting this form. Is this my fault or is this a bug?

Most helpful comment

You can force using https by adding.
'overwriteprotocol' => 'https',
to the config/config.php.

All 3 comments

I use Nginx as a Reverse Proxy Server which handles the SSL and redirects to Nextcloud, maybe that is a problem?

You can force using https by adding.
'overwriteprotocol' => 'https',
to the config/config.php.

I got the following command which has to be executed by the host:

docker exec --user www-data <<<containername>>> php occ config:system:set overwriteprotocol --value="https"

This does exactly what @sauroter described, thanks for that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gjedeer picture gjedeer  路  3Comments

tanja84dk picture tanja84dk  路  3Comments

SQGE picture SQGE  路  3Comments

mahnunchik picture mahnunchik  路  3Comments

pierreozoux picture pierreozoux  路  3Comments