2012-02-27, 00:59:58
2012-02-27, 00:59:58
2012-02-27, 03:25:08
2012-02-27, 03:27:53
Connie Wrote:Lighthtpd:
http://get-simple.info/forum/search/2124459239/
Nginx:
http://get-simple.info/forum/search/434491781/
links don't work
2012-02-27, 03:31:19
sorry, when I click on them, they work
but whatever: just start a forum-search with these servernames and you will get quite enough stuff to study ;=)
but whatever: just start a forum-search with these servernames and you will get quite enough stuff to study ;=)
2012-02-27, 19:27:34
NGINX here. Right now i'm developing (so sites are password protected) a small brochure site with 2 domain, so config includes rewrite and authentication. This is not a perfect config, but at least you can start form here. BTW, from my test nginx+getsimple is much faster than apache when you have limited resources:
# cat /etc/nginx/sites-enabled/mysite.com
# cat /etc/nginx/sites-enabled/mysite.com
Code:
server {
listen 80;
server_name *.mysite.com *.mysite.org;
rewrite ^ [url]http://mysite.com[/url]$request_uri permanent;
}
server {
listen 80;
server_name mysite.com;
charset utf-8;
access_log off;
root /var/www/mysite.com;
index index.php;
location / {
auth_basic "Restricted";
auth_basic_user_file mysite_pass;
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 ~* \.(htm|css|html)$ {
try_files $uri /index.php?id=$uri;
# expires 2d;
}
}
2012-02-29, 21:32:43
just posted an updated version here: http://get-simple.info/forum/post/23802/#p23802
i'm not sure about the real benefit you have caching fastcgi queries because 3.1 already has some internal cache, and i don't have a large complex site to run ab comparative tests.
i'm not sure about the real benefit you have caching fastcgi queries because 3.1 already has some internal cache, and i don't have a large complex site to run ab comparative tests.