2022-10-28 09:04:57 +00:00
|
|
|
package nginx_conf
|
|
|
|
|
|
|
|
import (
|
2023-04-14 08:01:06 +00:00
|
|
|
"embed"
|
2022-10-28 09:04:57 +00:00
|
|
|
_ "embed"
|
|
|
|
)
|
|
|
|
|
|
|
|
//go:embed ssl.conf
|
|
|
|
var SSL []byte
|
|
|
|
|
|
|
|
//go:embed website_default.conf
|
|
|
|
var WebsiteDefault []byte
|
2022-11-08 07:42:31 +00:00
|
|
|
|
2022-11-21 08:28:51 +00:00
|
|
|
//go:embed index.html
|
|
|
|
var Index []byte
|
2023-04-03 09:47:23 +00:00
|
|
|
|
|
|
|
//go:embed index.php
|
|
|
|
var IndexPHP []byte
|
2023-04-14 08:01:06 +00:00
|
|
|
|
|
|
|
//go:embed rewrite/*
|
|
|
|
var Rewrites embed.FS
|
2023-04-23 10:15:38 +00: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 02:17:36 +00:00
|
|
|
|
|
|
|
//go:embed 404.html
|
|
|
|
var NotFoundHTML []byte
|
|
|
|
|
|
|
|
//go:embed domain404.html
|
|
|
|
var DomainNotFoundHTML []byte
|
|
|
|
|
|
|
|
//go:embed stop.html
|
|
|
|
var StopHTML []byte
|