class Nginx::AcmeLocation
Attributes
certificate_domain[R]
location[R]
Public Class Methods
new(certificate_domain, location = "/.well-known")
click to toggle source
Calls superclass method
Nginx::Location::new
# File lib/shared_infrastructure/nginx/location.rb, line 39 def initialize(certificate_domain, location = "/.well-known") super(location) @certificate_domain = certificate_domain end
Public Instance Methods
to_s(level = 0)
click to toggle source
# File lib/shared_infrastructure/nginx/location.rb, line 44 def to_s(level = 0) Lines.new("location #{location} {", " alias #{File.join(Nginx.root_directory(certificate_domain), ".well-known")};", "}").format(level) end