Cytat:
Napisany przez Jarson
Kod:
sudo chown -R www-data:www-data media/NAS/owncloud
|
No i po tym mam - z zewnątrz
Cytat:
You are accessing the server from an untrusted domain.
Please contact your administrator. If you are an administrator of this instance, configure the
"trusted_domain" setting in config/config.php. An example configuration is provided in
config/config.sample.php.
|
Tylko pytanie jak, skoro nie mam domeny tylko chcę po zwykłym IP zewnętrznym się łączyć.
TU coś o tym piszą
Cytat:
Configure Trusted Domains:
Locate the "config.php" file in the owncloud "config" directory.
Using an editor open the file as the "root" user, initially it will have the following entry:
'trusted_domains' =>
array (
0 => '192.168.0.101',
),
Put a second entry in to the "trusted_domains array" for the Wifi address as follows:
Cytat:
'trusted_domains' =>
array (
0 => '192.168.0.101',
1 => '192.168.99.1',
),
|
OR
Comment out the "trusted_domains array" as follows:
Cytat:
/* 'trusted_domains' =>
array (
0 => '192.168.0.101',
1 => '192.168.99.1',
), */
|
|
Nie do końca to rozumiem, ja tam mam podać IP wewnętrzne na którym jest ownCloud? Czy wszystkie IP z sieci lokalnej? Czy moje IP zewnętrzne?
EDIT
Wystarczyło dodać IP zewnętrzne - tylko czemu to połączenie nie jest SSL