Skip to content

Commit 2ac3049

Browse files
Merge pull request #43 from dev-sec/softcoded_nginx_path
softcoded nginx path
2 parents 7850cf4 + 2786100 commit 2ac3049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/nginx_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
end
9393

9494
# determine all required paths
95-
nginx_path = '/etc/nginx'
95+
nginx_path = attribute('nginx_path', value: '/etc/nginx', description: 'Default nginx configurations path')
9696
nginx_conf = File.join(nginx_path, 'nginx.conf')
9797
nginx_confd = File.join(nginx_path, 'conf.d')
9898
nginx_enabled = File.join(nginx_path, 'sites-enabled')

0 commit comments

Comments
 (0)