• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Xenforo 2 nginx friendly URLs 404 Not Found

JAFRI

New Pleskian
Hello, i face a problem with Xenforo 2 nginx all friendly URLs 404 Not Found.

pls help me.

‪Ubuntu 16.04.5 LTS‬ Product: Plesk Onyx 17.8.11

Additional nginx directives:

Code:
location /var/www/vhosts/domain.com/httpdocs/ {
    try_files $uri $uri/ /var/www/vhosts/domain.com/httpdocs/index.php?$uri&$args;
    index index.php index.html;
}

location /var/www/vhosts/domain.com/httpdocs/install/data/ {
    internal;
}
location /var/www/vhosts/domain.com/httpdocs/install/templates/ {
    internal;
}
location /var/www/vhosts/domain.com/httpdocs/internal_data/ {
    internal;
}
location /var/www/vhosts/domain.com/httpdocs/library/ { #legacy
internal;
}
location /xf/src/ {
    internal;
}

location ~ \.php$ {
    try_files $uri =404;
    fastcgi_pass    127.0.0.1:9000;
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include         fastcgi_params;
}

Options - XenForo 2 Manual
 
Back
Top