Nginx Optimization Tips?

What are some tweaks you guys do to optimize your EngineX servers?

I've enabled gzip compression, is there anything else I can do?

My sites are predominantly WordPress-based.

2 Replies

Perhaps these:

    server_tokens off;
    worker_processes    2; # try -> grep -c processor /proc/cpuinfo
    worker_connections 1024;
    keepalive_timeout   10;
    send_timeout        12;
    sendfile        on;
    tcp_nodelay        on;
    gzip  on;
    gzip_min_length 640;
    gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;

Also you may want to take a look at: http://ubuntuforums.org/showthread.php?p=6953724

Hi,

there are some good tips here: https://calomel.org/nginx.html

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct