2024-07-23 14:48:37 +08:00
|
|
|
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
|
2024-08-09 18:00:39 +08:00
|
|
|
|
|
|
|
//go:embed path_auth.conf
|
|
|
|
var PathAuth []byte
|
2024-08-15 23:15:29 +08:00
|
|
|
|
|
|
|
//go:embed upstream.conf
|
|
|
|
var Upstream []byte
|
2024-09-03 21:45:41 +08:00
|
|
|
|
|
|
|
//go:embed php_extensions.json
|
|
|
|
var PHPExtensionsJson []byte
|