Topic: GS and NGINX
i'm using GetSimple with nginx and it's really fast. I tried to create a good config file, hope someone will improve this. At the moment i'm running 8 low traffic sites on a low end VPS using less than 100 MB ram, including exim4, php, and all modules i loaded. And all perform well even under heavy simulated traffic (loadimpact.com test).
My guess it that GetSimple CMS and Nginx together are the best and fastest thing you can use if you want a lot of speed on a budget server.
server {
listen 80;
server_name *.mysite.com;
rewrite ^ http://mysite.com$request_uri permanent;
}
server {
listen 80;
server_name mysite.com;
access_log off;
root /var/www/www.mysite.com;
index index.php;
try_files $uri $uri/ /index.php?id=$uri;
location ~* \.php$ {
include /etc/nginx/fastcgi_php;
expires 2h;
}
location ~* \.(ico|js|gif|jpg|png)$ {
try_files $uri /index.php?id=$uri;
expires 14d;
}
location ~* \.(css|htm|html)$ {
try_files $uri /index.php?id=$uri;
expires 2d;
}
}
Download


