Answer the question
In order to leave comments, you need to log in
How to make https for external address and http for internal in owncloud?
Good afternoon
Tell me how to do it in OwnCloud so that when a person comes in from outside, he is forcibly assigned the https:// protocol, and when a person goes through the internal network, remains http ?
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'srv.*.ru',
1 => '192.168.1.100',
),
'datadirectory' => '/home/admin/web/srv.*.ru/public_html/owncloud/data',
'overwrite.cli.url' => 'http://srv.*.ru/owncloud',
'forcessl' => true,
'dbtype' => 'mysql',
'version' => '8.2.5.2',
'dbname' => '',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => '',
'logtimezone' => 'UTC',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'appstore.experimental.enabled' => true,
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question