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..<br>
<br>------------------------------------------------------------------<br>#user mark;<br>worker_processes 1;<br>error_log logs/error_staticfarm.log;<br><br>pid logs/nginx_staticfarm.pid;<br>events {<br> worker_connections 1024;<br>
}<br><br>http {<br> include mime.types;<br> default_type application/octet-stream;<br><br> #access_log logs/access_staticfarm.log;<br><br> sendfile on;<br> #tcp_nopush on;<br><br> keepalive_timeout 0;<br>
#keepalive_timeout 10;<br><br> gzip on;<br> server {<br> listen 6080;<br> server_name localhost;<br> #access_log logs/host.access.log main;<br> location /nginx_status {<br>
stub_status on;<br> access_log off;<br> }<br> location /static{<br> root /home/mark/staticfarm/;<br> access_log off;<br> }<br> }<br>}<br><br>