Hi there,
I have been googling since hours but I can not find how to solve my problem…
Maybe you can help me…
I am on windows and installed ubuntu via wsl2 and on this I set up nextcloud. And at this computer I can get into nextcloud with localhost/nc. But I can not connect with typing 192.168.1.15/nc (Ip is the IP of computer with nextcloud).
Here is my /etc/apache2/sites-available/nextcloud.conf
Alias /nc "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
And here my /var/www/nextcloud/config/config.php
<?php
$CONFIG = array (
'instanceid' => 'oc1t9tn739p9',
'passwordsalt' => 'CYZrSW9jyZSps+bMVrtDS3M+A4s0if',
'secret' => 'TAe4W73LYjEaD9Ms2aTKSH7d8vlvvF3osbWc/Zi/jUJTKyYT',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.1.*',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '29.0.3.4',
'overwrite.cli.url' => 'http://192.168.1.15/nc',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'memories.db.triggers.fcu' => true,
'memories.exiftool' => '/var/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-glibc',
'memories.vod.path' => '/var/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
'htaccess.RewriteBase' => '/',
);
I tried with virtual server and ServerName and so on but nothing worked so far.
NC should be available only locally.
Any ideas?
Thanks