struct WebSite::Caddy
- WebSite::Caddy
- Struct
- Value
- Object
Overview
Limited Caddyfile parser/builder
Included Modules
Defined in:
web_site/caddy.crConstructors
-
.new(file : Path)
Parses a Caddyfile from a path.
Instance Method Summary
-
#write
Writes to the Caddyfile path.
Instance methods inherited from module WebSite::Site
fastcgi : URI?
fastcgi,
fastcgi=(fastcgi : URI?)
fastcgi=,
file : Path
file,
file=(file : Path)
file=,
gzip : Bool
gzip,
gzip=(gzip : Bool)
gzip=,
headers : Hash(String, String)
headers,
headers=(headers : Hash(String, String))
headers=,
hosts : Array(URI)
hosts,
hosts=(hosts : Array(URI))
hosts=,
log_file_error : Path?
log_file_error,
log_file_error=(log_file_error : Path?)
log_file_error=,
log_file_output : Path?
log_file_output,
log_file_output=(log_file_output : Path?)
log_file_output=,
proxy : URI?
proxy,
proxy=(proxy : URI?)
proxy=,
root : Path?
root,
root=(root : Path?)
root=
Constructor Detail
def self.new(file : Path)
#
Parses a Caddyfile from a path.
ameba:disable Metrics/CyclomaticComplexity