Reverted some things, but still using new file structure
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
|
||||
# error_log /var/log/nginx.error_log info; # [ debug | info | notice | warn | error | crit ]
|
||||
#error_log /var/log/nginx_error.log info; # [ debug | info | notice | warn | error | crit ]
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
@@ -21,7 +21,7 @@ http {
|
||||
# '$status $body_bytes_sent "$http_referer" '
|
||||
# '"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
#access_log /var/log/nginx/access.log main;
|
||||
#access_log /var/log/nginx/http_access.log main;
|
||||
|
||||
# REFERENCE 2
|
||||
#log_format main '$remote_addr - $host [$time_local] "$request" '
|
||||
@@ -35,8 +35,8 @@ http {
|
||||
# 'rt=$request_time ut=$upstream_response_time '
|
||||
# 'cs=$upstream_cache_status';
|
||||
|
||||
#access_log /var/log/nginx/access.log main;
|
||||
#error_log /var/log/nginx/error.log warn;
|
||||
#access_log /var/log/nginx/http_access.log main;
|
||||
#error_log /var/log/nginx/http_error.log error;
|
||||
|
||||
#----------------------------------------
|
||||
# Basic Settings
|
||||
@@ -45,7 +45,7 @@ http {
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
keepalive_timeout 65;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
@@ -60,9 +60,12 @@ http {
|
||||
# GZip
|
||||
#----------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_comp_level 4;
|
||||
gzip_min_length 1000;
|
||||
gzip_buffers 4 8k;
|
||||
gzip_types text/plain;
|
||||
|
||||
#----------------------------------------
|
||||
# Cache
|
||||
|
||||
Reference in New Issue
Block a user