I have now managed to go one step further. But almost everything I want to do is causing an error "The requested resource was not found." I cannot even create a new user. Or log in from another browser.
What have I done wrong now? The database "flarum" is emty in MariaDB. Should it not be filled with some stuff?
https://forum.go4webdev.org
and https://forum.go4webdev.org/admin shows a 404 page.
In case the Nginx settings is the cause here is my default setting. (All discussions I have seen is about Apache)
server {
root /var/www/flarum/public;
index index.php index.html index.htm;
server_name forum.go4webdev.org;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}
}
and the config file in var/www/flarum/public
<?php return array (
'debug' => false,
'database' =>
array (
'driver' => 'mysql',
'host' => 'localhost',
'port' => 3309,
'database' => 'flarum',
'username' => 'sibert',
'password' => '',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
'engine' => NULL,
'prefix_indexes' => true,
),
'url' => 'https://forum.go4webdev.org',
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
'headers' =>
array (
'poweredByHeader' => true,
'referrerPolicy' => 'same-origin',
),
);