Skip to content

Commit

Permalink
Merge pull request #43 from dev-sec/softcoded_nginx_path
Browse files Browse the repository at this point in the history
softcoded nginx path
  • Loading branch information
micheelengronne authored Jan 18, 2021
2 parents 7850cf4 + 2786100 commit 2ac3049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
end

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

0 comments on commit 2ac3049

Please sign in to comment.