Thanks again for the reply. I actually was on the right track earlier, I included the W3TC-created nginx.conf in my Nginx.conf file and disabled gzip in the main configuration:
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
# multi_accept on;
}
http {
include /etc/nginx/mime.types;
access_log /var/log/nginx/access.log;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
#gzip on;
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";
## ADDED FILE HERE
include /var/www/techerator.com/public_html/nginx.conf;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
But this gives the error:
Restarting nginx: [emerg]: "location" directive is not allowed here in /var/www/techerator.com/public_html/nginx.conf:2
configuration file /etc/nginx/nginx.conf test failed
From what I can tell, it's breaking because it doesn't like the syntax in the W3TC-created nginx.conf file. This file starts right away with the location block.
Any thoughts?