diff --git a/content/posts/cloud/20200624T220819+0900_retry/index.rst b/content/posts/cloud/20200624T220819+0900_retry/index.rst index da66cb5..6e7e871 100644 --- a/content/posts/cloud/20200624T220819+0900_retry/index.rst +++ b/content/posts/cloud/20200624T220819+0900_retry/index.rst @@ -141,3 +141,67 @@ cat /etc/ssowat/conf.json } *only "nopost.hopto.org" is added to "unprotected_urls"* + + +proxy server configuration +-------------------------- + + +cat /var/www/nextcloud/config/config.php + +---- + +.. code-block:: php + + 'Rc+crozalDTdRWVXaGq55plHZ0TEBv', + 'secret' => 'YkhznvFDe/i1BP7G1ALqeD0eFf9pyZEMYFg2fMdkAyumd41J', + 'trusted_domains' => + array ( + 0 => 'localhost', + 5 => 'nextcloudpi.local', + 7 => 'nextcloudpi', + 8 => 'nextcloudpi.lan', + 11 => '211.108.178.33', + 1 => '192.168.1.110', + 20 => 'nopost.hopto.org', + ), + #'overwriteprotocol' => 'https', + 'datadirectory' => '/media/myCloudDrive/ncdata', + 'dbtype' => 'mysql', + 'version' => '18.0.5.1', + 'dbname' => 'nextcloud', + 'dbhost' => 'localhost', + 'dbport' => '', + 'dbtableprefix' => 'oc_', + 'mysql.utf8mb4' => true, + 'dbuser' => 'ncadmin', + 'dbpassword' => 'YYHRvwAFR3muntxMpeseZeVTYVFAEcOZXmz1wtV+y90=', + 'installed' => true, + 'instanceid' => 'oc5q256d12u2', + 'memcache.local' => '\\OC\\Memcache\\Redis', + 'memcache.locking' => '\\OC\\Memcache\\Redis', + 'redis' => + array ( + 'host' => '/var/run/redis/redis.sock', + 'port' => 0, + 'timeout' => 0.0, + 'password' => 'jfq4bdhaNEm2F3N1E8hQ7YauSShlEDSac0RuJ4LJtrI=', + ), + 'logout_url' => 'https://nosignal.hopto.org/yunohost/sso/?action=logout', + 'tempdirectory' => '/media/myCloudDrive/ncdata/tmp', + 'mail_smtpmode' => 'sendmail', + 'mail_smtpauthtype' => 'LOGIN', + 'mail_from_address' => 'admin', + 'mail_domain' => 'ownyourbits.com', + 'preview_max_x' => '2048', + 'preview_max_y' => '2048', + 'jpeg_quality' => '60', + 'maintenance' => false, + 'logfile' => '/media/myCloudDrive/ncdata/nextcloud.log', + 'loglevel' => '2', + 'log_type' => 'file', + ); + +