module Nginx::Builder::Https
Public Instance Methods
save()
click to toggle source
Calls superclass method
# File lib/shared_infrastructure/nginx/builder.rb, line 9 def save pem_file = "#{Nginx.certificate_directory(certificate_domain)}/dhparam.pem" FileUtils.mkdir_p File.dirname(pem_file) puts "openssl dhparam -out #{pem_file} #{Nginx.dhparam}" if Runner.debug `openssl dhparam -out #{pem_file} #{Nginx.dhparam}` super end