• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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