I have nginx set and running for Joomla on localhost windows environment. However I can't seem to get nginx to work with xenforo. Here is my vhosts file for xenforo:
Please help.
Code:
server {
listen 127.0.0.1:80;
server_name localhost;
root home/xenforo;
index index.php index.html;
access_log home/xenforo.access.log;
location / {
try_files $uri $uri/ /index.php?$uri&$args;
index index.php index.html;
}
location ~ /(internal_data|library) {
internal;
}
location ~ \.php$ {
try_files $uri /index.php
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}
}
Please help.