Hey Flarum Community,
Im new to Linux/Ubuntu and Im trying to setup Flarum on my VServer.
The installation looks fine so far however I can't access Flarum within my browser.
When I try to access it via myip/flarum I get the following Error:
403 Forbidden, nginx/1.14.0 (Ubuntu)
I looked up alot of posts about this issue but none of them helped me to solve it.
posts I tried:
this
and this
aaaand this.
The following error appears in my nginx error log file:
2020/11/30 20:11:11 [error] 27653#27653: *390 directory index of "/var/www/html/flarum/" is forbidden, client: 79.249.80.53, server: _, request: "GET /flarum/ HTTP/1.1", host: "81.169.234.99"
My flarum.conf in the nginx sites-available folder looks like this :
server {
listen 80;
listen [::]:80;
root /var/www/html/flarum;
index index.php index.html index.htm;
server_name example.com www.example.com;
#add php suport (make sure you have php-fpm installed for it to work)
location ~* .php$ {
fastcgi_split_path_info .+.php(/.+)$;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
}
include /var/www/html/flarum/.nginx.conf;
}
(I also linked it with sudo ln -s /etc/nginx/sites-available/flarum.conf /etc/nginx/sites-enabled/)
I also tried to implement a Custom Path like explained here .
This might be a really nooby question since, as I said above, Im really new to Linux and it's my first time really messing around with it
I hope someone with knowledge and patience can help me out! 🙂
Thanks to everyone replying,
Chemmic