• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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