i have tested nginx and apache with the "ab" tool. This is my results:<br><br>Apache:<br> Requests per second: 6058.62 [#/sec]<br><br><br>Nginx:<br> Requests per second: 1170.02 [#/sec] <br><br>this is my
nginx.conf:<br><br>@@@@@<br><br>user nobody nogroup;<br>worker_processes 10;<br><br>error_log logs/error.log;<br>pid logs/nginx.pid;<br><br>events {<br> worker_connections 512;<br> use eventport; #sol 10+
<br>}<br><br><br>http {<br> include conf/mime.types;<br> default_type application/octet-stream;<br><br> log_format main '$remote_addr - $remote_user [$time_local] $request '<br> '"$status" $body_bytes_sent "$http_referer" '
<br> '"$http_user_agent" "$http_x_forwarded_for"';<br><br> access_log logs/access.log main;<br><br> sendfile off;<br> tcp_nopush on;<br> tcp_nodelay on;
<br> keepalive_timeout 65;<br> <br> #gzip on;<br> <br> root /home/mywebsite;<br> index index.php;<br> <br> client_max_body_size 128k;<br> client_body_buffer_size 128k;<br><br> server {<br>
listen 80;<br> server_name <a href="http://www.mywebsite.com">www.mywebsite.com</a>;<br><br> #access_log off;<br><br> #<br> # PHP<br> # <br> <br> location / {
<br> client_max_body_size 128k;<br> client_body_buffer_size 128k;<br><br> root /home/mywebsite;<br> index index.php index.html;<br> }<br><br> location ~ \.php$ {
<br> include /nginx/conf/fcgi.conf; <br> fastcgi_pass unix:/tmp/fastcgi.socket;<br> fastcgi_index index.php;<br> } <br><br><br> error_page 404 /404.html;
<br> <br> location /404.html {<br> root /home/mywebsite;<br> charset on;<br> }<br><br>What can i do more to make it faster ??<br>