Index: modules/nginx/templates/site.erb |
=================================================================== |
--- a/modules/nginx/templates/site.erb |
+++ b/modules/nginx/templates/site.erb |
@@ -78,4 +78,8 @@ |
<% if @source %> |
<% include_file[source] %> |
<% end %> |
+ |
+# include any fragments provided via puppet and nginx::hostconfig-fragment |
+include "<%= scope.lookupvar('nginx::fragment_directory') %>/<%= domain %>/*.conf"; |
+ |
} |