switch to relative paths for config file includes
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -9,12 +9,12 @@ http {
|
||||
types_hash_max_size 2048;
|
||||
|
||||
# mime types
|
||||
include /etc/nginx/mime.types;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# logging
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log access.log;
|
||||
error_log error.log;
|
||||
|
||||
# gzip
|
||||
gzip on;
|
||||
@@ -26,11 +26,11 @@ http {
|
||||
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;
|
||||
include ssl-params.conf;
|
||||
|
||||
# proxy parameters
|
||||
include /etc/nginx/proxy-params.conf;
|
||||
include proxy-params.conf;
|
||||
|
||||
# include sites
|
||||
include /etc/nginx/sites/*;
|
||||
include sites/*;
|
||||
}
|
||||
|
Reference in New Issue
Block a user