speedway
Well-known member
Hi all
I have had comments that my Xenforo test site is slower than my VB 4 site (AHHHHH!!!!!). They both run on the same server, same DB, same nginx. I set up the XF conf like this:
* NB: **** represents hidden info.
* NB2: listen address is an IP address, I have 4 to choose from so I have one set for the site.
This is almost identical to the VB conf file with a couple of addon bits for Xenforo. I would be very interested to see what others think.
BTW, I have APC cache running on both sites.
Cheers
I have had comments that my Xenforo test site is slower than my VB 4 site (AHHHHH!!!!!). They both run on the same server, same DB, same nginx. I set up the XF conf like this:
* NB: **** represents hidden info.
* NB2: listen address is an IP address, I have 4 to choose from so I have one set for the site.
Code:
server {
access_log /****/****/****/xf.australianspeedway.com/log/xf-.access.log combined buffer=32k;
error_log /****/****/****/xf.australianspeedway.com/log/xf-error.log error;
index index.php index.html;
listen ***.***.***.**;
server_name xf.australianspeedway.com;
root /****/****/****/xf.australianspeedway.com/public;
client_max_body_size 20M;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /****/****/****/xf.australianspeedway.com/public;
}
location / {
#This sends everything through index.php and keeps the appended query string intact.
try_files $uri $uri/ /index.php?$uri&$args;
}
#add some expires
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 1y;
log_not_found off;
}
#protect the innocent
location ~ ^/(internal_data|library)/(.*)$ {
internal;
}
include /usr/local/nginx/conf/staticfiles.conf;
include /usr/local/nginx/conf/php.conf;
include /usr/local/nginx/conf/drop.conf;
}
BTW, I have APC cache running on both sites.
Cheers