Replaced hardcoded values with scopelookup
This commit is contained in:
parent
aa89b20f98
commit
bbf820c09e
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ events {
|
|||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
include <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
access_log <%= @http_access_log %>;
|
||||
|
@ -44,7 +44,7 @@ http {
|
|||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/conf.d/*.conf;
|
||||
include <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/sites-enabled/*;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue