Class: Avm::EacWebappBase0::Instances::ApacheHost
- Inherits:
-
ApacheBase
- Object
- ApacheBase
- Avm::EacWebappBase0::Instances::ApacheHost
- Includes:
- Avm::Entries::Jobs::Base
- Defined in:
- lib/avm/eac_webapp_base0/instances/apache_host.rb
Constant Summary collapse
- APACHE_DIRECTORY_EXTRA_CONFIG_KEY =
'install.apache_directory_extra_config'
- JOBS =
%w[write_available_no_ssl_site enable_no_ssl_site remove_ssl_site reload_apache run_certbot enable_ssl_site reload_apache].freeze
Instance Method Summary collapse
Methods inherited from ApacheBase
Instance Method Details
#directory_extra_config ⇒ Object
18 19 20 21 |
# File 'lib/avm/eac_webapp_base0/instances/apache_host.rb', line 18 def directory_extra_config instance.entry(APACHE_DIRECTORY_EXTRA_CONFIG_KEY).optional_value .if_present { |v| " #{v}\n" } end |
#no_ssl_site_content ⇒ Object
23 24 25 26 27 |
# File 'lib/avm/eac_webapp_base0/instances/apache_host.rb', line 23 def no_ssl_site_content ::Avm::EacWebappBase0::Instances::ApacheHost .template.child('no_ssl.conf') .apply(variables_source) end |
#ssl? ⇒ Boolean
29 30 31 |
# File 'lib/avm/eac_webapp_base0/instances/apache_host.rb', line 29 def ssl? [:certbot] end |