NGinx Best Practices

httpdnginx

What best practices do you use while using NGinx?

Best Answer

How to combine HTTP and HTTPS blocks.

server {
    listen 80;
    listen 443 default ssl;

    # other directives
}

This was posted as an answer to a different question. See here.