| From | Sent On | Attachments |
|---|---|---|
| rkmr...@public.gmane.org | Jan 28, 2008 9:01 am | |
| Igor Clark | Jan 28, 2008 9:13 am | |
| rkmr...@public.gmane.org | Jan 28, 2008 9:47 am | |
| Roxis | Jan 28, 2008 9:56 am | |
| Igor Clark | Jan 28, 2008 10:07 am | |
| eliott | Jan 28, 2008 10:59 am | |
| rkmr...@public.gmane.org | Jan 28, 2008 1:42 pm | |
| eliott | Jan 28, 2008 7:21 pm |
| Subject: | Re: static web server config improvements | |
|---|---|---|
| From: | Igor Clark (igor...@public.gmane.org) | |
| Date: | Jan 28, 2008 9:13:49 am | |
| List: | ru.sysoev.nginx | |
Off the top of my head, I don't know if gzipping binary image data is going to get you much except overhead - it's probably a narrow calculation though
On 28 Jan 2008, at 17:02, rkmr...@public.gmane.org wrote:
this is my config for a web server that does only static files mostly gifs, pngs and jpgs.. is there any improvement i can do in this like is there some sort of caching that can be enabled? or any other improvements that can be done to this..
------------------------------------------------------------------ #user mark; worker_processes 1; error_log logs/error_staticfarm.log;
pid logs/nginx_staticfarm.pid; events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream;
#access_log logs/access_staticfarm.log;
sendfile on; #tcp_nopush on;
keepalive_timeout 0; #keepalive_timeout 10;
gzip on; server { listen 6080; server_name localhost; #access_log logs/host.access.log main; location /nginx_status { stub_status on; access_log off; } location /static{ root /home/mark/staticfarm/; access_log off; } } }
-- Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749 5355 // www.pokelondon.com





