XF 2.1 Friendly URLs on Nginx

SkylarPog

New member
Greeting everyone,

I am having trouble trying to setup Friendly URLs for my forums when I enable them I get 404 not found errors and I have followed everything as the tutorials have stated. The forums are installed in the following directly "/var/www/forums/upload" linked below is what my Nginx conf looks like.

https://hasteb.in/ozarenoy.php - Nginx conf file
https://hasteb.in/wodilori.apache - .htaccess if this is needed
 
to edit and delete line

location /var/www/forums/upload {
try_files $uri $uri/ /index.php?$uri&$args;
index index.php index.html;
}

location /var/www/forums/upload/install/data/ {
internal;
}
location /var/www/forums/upload/install/templates/ {
internal;
}
location /var/www/forums/upload/internal_data/ {
internal;
}
location /var/www/forums/upload/library/ { #legacy
internal;
}
location /var/www/forums/upload/src/ {
internal;
}

add

location / {
try_files $uri $uri/ /index.php?$uri&$args ;
}
location ~ /(internal_data|library|src) {
internal;
}
 
Last edited:
Back
Top Bottom