Guys
Maybe someone here can help. I recently upgraded to PHP 7.4 and since it no longer supports .htaccess files my host tried to convert the redirect to NGINX using code found in the Xenforo support doc here:
The code my host put in the .conf file is below with the install directory being /community/
All inks after the main forum pages are 404 errors.
Does anyone see anything wrong?
Thanks
Dave
location /community/ {
try_files $uri $uri/ /community/index.php?$uri&$args;
index index.php index.html;
}
location /community/install/data/ {
internal;
}
location /community/install/templates/ {
internal;
}
location /community/internal_data/ {
internal;
}
location /community/library/ { #legacy
internal;
}
location /community/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;
}
Maybe someone here can help. I recently upgraded to PHP 7.4 and since it no longer supports .htaccess files my host tried to convert the redirect to NGINX using code found in the Xenforo support doc here:
The code my host put in the .conf file is below with the install directory being /community/
All inks after the main forum pages are 404 errors.
Does anyone see anything wrong?
Thanks
Dave
location /community/ {
try_files $uri $uri/ /community/index.php?$uri&$args;
index index.php index.html;
}
location /community/install/data/ {
internal;
}
location /community/install/templates/ {
internal;
}
location /community/internal_data/ {
internal;
}
location /community/library/ { #legacy
internal;
}
location /community/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;
}