Not Solved nginx 500 Server Error
#1
Not Solved
Hello. I wanted to set up MyBB on my VPS but I ran into a problem, after I setup everything and went to the site, I got an nginx 500 Server error. Can someone help?

OS: Debian 11
PHP: PHP 7.4.21
SQL: Ver 15.1 Distrib 10.5.11-MariaDB
MyBB: 1.8.27

Here is my nginx config:

server {

  listen 4040;
  listen 443 ssl;

  server_name forum.matteodev.xyz;

  root /var/www/mybb;

  location / {
    index index.php;
  }

  # Deny access to internal files.
  location ~ /(inc|uploads/avatars) {
    deny all;
  }

  location ~ \.php$ {
    fastcgi_pass unix:/run/php/php7.3-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
  }

}
Reply


Messages In This Thread
nginx 500 Server Error - by matteodev - 2021-10-04, 06:09 PM
RE: nginx 500 Server Error - by Matt - 2021-10-04, 06:28 PM
RE: nginx 500 Server Error - by Crazycat - 2021-10-04, 09:28 PM
RE: nginx 500 Server Error - by matteodev - 2021-10-05, 04:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)