Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Merge 79d2012 into df5b12f
Browse files Browse the repository at this point in the history
  • Loading branch information
kpheasey committed Jul 16, 2019
2 parents df5b12f + 79d2012 commit c52a7a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libraries/drivers_webserver_nginx.rb
Expand Up @@ -41,6 +41,7 @@ def configure
add_ssl_item(:chain)
add_dhparams

remove_defaults
add_appserver_config
enable_appserver_config
super
Expand All @@ -58,6 +59,14 @@ def conf_dir
def service_name
'nginx'
end

private

def remove_defaults
notifying_file "#{conf_dir}/conf.d/default.conf", :reload do
action :delete
end
end
end
end
end

0 comments on commit c52a7a2

Please sign in to comment.