2022-10-28 17:04:57 +08:00
|
|
|
package nginx_conf
|
|
|
|
|
|
|
|
import (
|
2023-04-14 16:01:06 +08:00
|
|
|
"embed"
|
2022-10-28 17:04:57 +08:00
|
|
|
_ "embed"
|
|
|
|
)
|
|
|
|
|
|
|
|
//go:embed ssl.conf
|
|
|
|
var SSL []byte
|
|
|
|
|
|
|
|
//go:embed website_default.conf
|
|
|
|
var WebsiteDefault []byte
|
2022-11-08 15:42:31 +08:00
|
|
|
|
2022-11-21 16:28:51 +08:00
|
|
|
//go:embed index.html
|
|
|
|
var Index []byte
|
2023-04-03 17:47:23 +08:00
|
|
|
|
|
|
|
//go:embed index.php
|
|
|
|
var IndexPHP []byte
|
2023-04-14 16:01:06 +08:00
|
|
|
|
|
|
|
//go:embed rewrite/*
|
|
|
|
var Rewrites embed.FS
|
2023-04-23 18:15:38 +08:00
|
|
|
|
|
|
|
//go:embed cache.conf
|
|
|
|
var Cache []byte
|
|
|
|
|
|
|
|
//go:embed proxy.conf
|
|
|
|
var Proxy []byte
|
|
|
|
|
|
|
|
//go:embed proxy_cache.conf
|
|
|
|
var ProxyCache []byte
|
2024-06-19 10:17:36 +08:00
|
|
|
|
|
|
|
//go:embed 404.html
|
|
|
|
var NotFoundHTML []byte
|
|
|
|
|
|
|
|
//go:embed domain404.html
|
|
|
|
var DomainNotFoundHTML []byte
|
|
|
|
|
|
|
|
//go:embed stop.html
|
|
|
|
var StopHTML []byte
|