Sway
Active member
I was looking through the help pages on xenforo, and this confused me a little bit.
It said put this in your configuration file
There is sites-available/default, and there is nginx.conf This looks like it belongs in default inside sites-available.
My Xenforo install is also inside my web server root. I am sick, and very out of it so a helping hand would be nice.
It said put this in your configuration file
Code:
location /xf/ {
try_files $uri $uri/ /xf/index.php?$uri&$args;
index index.php index.html;
}
location /xf/internal_data/ {
internal;
}
location /xf/library/ {
internal;
}
location ~ \.php$ {
try_files $uri /xf/index.php
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
My Xenforo install is also inside my web server root. I am sick, and very out of it so a helping hand would be nice.