I can't seem to get Friendly URL's to work, i've used the below in my config, while my homepage works fine. When I try to get to the forum portion going to /forums/ it instantly returns a 404. I'm using the [Extra] Portal addon for this.
Any ideas?
Code:
server {
server_name revenantgaming.com;
root /home/revenant/web/revenantgaming.com/public_html;
location / {
try_files $uri $uri/ /index.php?$uri&$args;
index index.php index.html;
}
location /internal_data/ {
internal;
}
location /library/ {
internal;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Any ideas?