XF 1.5 Moving of Xenforo Directories

edwardjc08

New member
I have recently moved XenForo contents to a different directory named /var/www/forum/. Before that, I went into ACP and changed the board options. I have configured NGINX for the subdomain forum.example.com and correctly added the domain from my domain provider. However, when I search forum.example.com, it shows this: https://gyazo.com/f3e2f053a55076d24788ef18a39620a1

Here is my /var/www/forum/ directory: https://gyazo.com/27eccd977d519c426ab7b9ceb8b5ec59

Here is my forum.conf from sites-available NGINX:
Code:
server
{
    server_name forum.example..com;
    listen 80 default_server;
    listen [::]:80 default_server;
    
    location ~ \.php$
    {
        try_files $uri =404;
        fastcgi_pass    unix:/var/run/php5-fpm.sock;   
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include         fastcgi_params;
    }
    
    #xenforo
    location /forums/
    {
        try_files  $uri $uri/ /index.php?$uri&$args;
        index index.php index.html index.htm;
    }

    location /install/data/
    {
        internal;
    }
    location /install/templates/
    {
        internal;
    }
    location /install/internal_data/
    {
        internal;
    }
    location /library/
    {
        internal;
    }
    
    root /var/www/forum/;
    index index.html index.php index.htm index.nginx-debian.html;
}
Have I done anything wrong? I double checked the FAQ for installation directory changes, but I did everything correctly.
 
Top