Documentation
¶
Index ¶
Constants ¶
View Source
const (
MimeTypes = `` /* 2081-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Finalizer ¶
type Finalizer struct {
BuildDir string
DepDir string
Log *libbuildpack.Logger
Config Staticfile
YAML YAML
}
func (*Finalizer) ConfigureNginx ¶
func (*Finalizer) CopyFilesToPublic ¶
func (*Finalizer) GetAppRootDir ¶
func (*Finalizer) LoadStaticfile ¶
func (*Finalizer) WriteStartupFiles ¶
type Staticfile ¶
type Staticfile struct {
RootDir string `yaml:"root"`
HostDotFiles bool `yaml:"host_dot_files"`
LocationInclude string `yaml:"location_include"`
DirectoryIndex bool `yaml:"directory"`
SSI bool `yaml:"ssi"`
PushState bool `yaml:"pushstate"`
HSTS bool `yaml:"http_strict_transport_security"`
ForceHTTPS bool `yaml:"force_https"`
BasicAuth bool
}
Click to show internal directories.
Click to hide internal directories.