Module: H2OConfigurator

Defined in:
lib/h2o-configurator.rb,
lib/h2o-configurator/host.rb,
lib/h2o-configurator/builder.rb,
lib/h2o-configurator/version.rb,
lib/h2o-configurator/handlers/redirect.rb,
lib/h2o-configurator/handlers/auto-extension.rb

Defined Under Namespace

Classes: AutoExtensionHandler, Builder, Error, Host, RedirectHandler

Constant Summary collapse

SitesDirGlob =
'/Users/*/Sites/*'
H2OEtcDir =
Path.new('/usr/local/etc/h2o')
H2OLogDir =
Path.new('/usr/local/var/log/h2o')
H2OConfFile =
H2OEtcDir / 'h2o.conf'
HandlersDir =
Path.new(__FILE__).dirname / 'h2o-configurator' / 'handlers'
InstalledHandlersDir =
H2OEtcDir / 'handlers'
Handlers =
{
  'AutoExtensionHandler'  => 'auto-extension.rb',
  'RedirectHandler'       => 'redirect.rb',
}
ErrorLogFile =
H2OLogDir / 'error.log'
CertBaseDir =
Path.new('/etc/letsencrypt/live')
ServerCertificateFilename =
'fullchain.pem'
PrivateKeyFilename =
'privkey.pem'
VERSION =
'0.6'