Class: Nginx::TlsRedirectServerBlock
- Inherits:
-
ServerBlock
- Object
- ServerBlock
- Nginx::TlsRedirectServerBlock
- Defined in:
- lib/shared_infrastructure/nginx/server_block.rb
Instance Method Summary collapse
-
#initialize(*domain_names) ⇒ TlsRedirectServerBlock
constructor
A new instance of TlsRedirectServerBlock.
Methods inherited from ServerBlock
Constructor Details
#initialize(*domain_names) ⇒ TlsRedirectServerBlock
Returns a new instance of TlsRedirectServerBlock.
46 47 48 49 50 51 52 |
# 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 |