class Nginx::TlsRedirectServerBlock

Public Class Methods

new(*domain_names) click to toggle source
Calls superclass method Nginx::ServerBlock::new
# File lib/shared_infrastructure/nginx/server_block.rb, line 46
def initialize(*domain_names)
  super(
    server: Server.new(domain: SharedInfrastructure::Domain.new(*domain_names)),
    listen: ListenHttp.new,
    location: RedirectLocation.new
  )
end