Replaced hardcoded values with scopelookup

This commit is contained in:
Joshua Moore 2014-03-20 11:40:40 -04:00
parent aa89b20f98
commit bbf820c09e

View file

@ -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/*;
}