mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
548 B
40 lines
548 B
package nginx_conf
|
|
|
|
import (
|
|
"embed"
|
|
_ "embed"
|
|
)
|
|
|
|
//go:embed ssl.conf
|
|
var SSL []byte
|
|
|
|
//go:embed website_default.conf
|
|
var WebsiteDefault []byte
|
|
|
|
//go:embed index.html
|
|
var Index []byte
|
|
|
|
//go:embed index.php
|
|
var IndexPHP []byte
|
|
|
|
//go:embed rewrite/*
|
|
var Rewrites embed.FS
|
|
|
|
//go:embed cache.conf
|
|
var Cache []byte
|
|
|
|
//go:embed proxy.conf
|
|
var Proxy []byte
|
|
|
|
//go:embed proxy_cache.conf
|
|
var ProxyCache []byte
|
|
|
|
//go:embed 404.html
|
|
var NotFoundHTML []byte
|
|
|
|
//go:embed domain404.html
|
|
var DomainNotFoundHTML []byte
|
|
|
|
//go:embed stop.html
|
|
var StopHTML []byte
|