[/details]
Nextcloud version _23.0.2
Operating system and version _rhel 8.6
Apache or nginx version _Apache/2.4.37
PHP version _7.4.28
I use nextcloud from local and external networks. I’ve nginx reverse proxy for local and WAF for external connections. When I share directory link I can connect from local but can’t connect from external because the system uses webdav technology. ( I can see the blocking reasons on WAF because of using webdav ), for security reasons I can’t enable webdav on WAF.
How can I solve this problem?
<?php
$CONFIG = array (
'instanceid' => 'ocl7fx8z9fxf',
'passwordsalt' => 'qN9gDIvqwtNUzoY6PbRD9M',
'secret' => 'owJObcXIsqBNqIduZ',
'trusted_domains' =>
array (
0 => 'X.X.X.X',
1 => 'X.X.X.X',
3 => 'X.X.X.X',
4 => 'share.domain',
5 => 'https://domain',
6 => 'localhost',
),
'datadirectory' => '/share/',
'dbtype' => 'mysql',
'version' => '23.0.2.1',
'overwrite.cli.url' => 'https://share.domain',
'htaccess.RewriteBase' => 'https://share.domain',
'session_lifetime' => 3600,
'session_keepalive' => false,
'remember_login_cookie_lifetime' => 0,
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncloud',
'dbpassword' => 'pass',
'installed' => true,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_domain' => 'share.domain',
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'X.X.X.X',
'mail_smtpauthtype' => 'NTLM',
'mail_smtpport' => '25',
'mail_sendmailmode' => 'smtp',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
);
X.X.X.X - - [12/Jul/2022:12:01:43 +0400] “GET /s/HF74XWk7qCfRqLK HTTP/1.1” 200 7816 “-” “Mozilla/5.0 (Linux; Android 12; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36”
X.X.X.X - - [12/Jul/2022:12:01:43 +0400] “GET /cron.php HTTP/1.1” 200 20 “-” “Mozilla/5.0 (Linux; Android 12; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36”
X.X.X.X - - [12/Jul/2022:12:01:44 +0400] “GET /ocs/v2.php/apps/text/public/workspace?path=%2F&shareToken=HF74XWk7qCfRqLK HTTP/1.1” 404 114 “-” “Mozilla/5.0 (Linux; Android 12; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36”
There are no logs in nextcloud.log and web logs.