Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Other Servers
#1
The Get-Simple is ready for the servers "Lighttpd" and "Nginx"?
How do Friendlies with ULR. "mod_rewrite"?

Quote:O Get-Simple já está preparado para os servidores "Lighttpd" e "NGinx"?
Como faço com as ULR Amigáveis. "mod_rewrite"?
Reply
#2
Lighthtpd:
http://get-simple.info/forum/search/2124459239/

Nginx:
http://get-simple.info/forum/search/434491781/
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Connie Wrote:Lighthtpd:
http://get-simple.info/forum/search/2124459239/

Nginx:
http://get-simple.info/forum/search/434491781/

links don't work
Reply
#4
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 ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
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

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;
    }

}
Reply
#6
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.
Reply




Users browsing this thread: 1 Guest(s)