consolidate ssl-params and proxy_params
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
10
nginx.conf
10
nginx.conf
@@ -9,12 +9,15 @@ http {
|
||||
tcp_nopush on;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
# mime types
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# logging
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
# gzip
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
@@ -23,5 +26,12 @@ http {
|
||||
gzip_http_version 1.1;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
# ssl parameters
|
||||
include /etc/nginx/ssl-params.conf
|
||||
|
||||
# proxy parameters
|
||||
include /etc/nginx/proxy-params.conf
|
||||
|
||||
# include sites
|
||||
include /etc/nginx/sites/*;
|
||||
}
|
||||
|
Reference in New Issue
Block a user