refactor: remove promotional content, ads, and author branding for a clean project
Main / build (push) Waiting to run
Main / build (push) Waiting to run
This commit is contained in:
+2
-6
@@ -4,11 +4,7 @@ caddy_config() {
|
||||
new)
|
||||
mkdir -p $is_caddy_dir $is_caddy_dir/sites $is_caddy_conf
|
||||
cat >$is_caddyfile <<-EOF
|
||||
# don't edit this file #
|
||||
# for more info, see https://233boy.com/$is_core/caddy-auto-tls/
|
||||
# 不要编辑这个文件 #
|
||||
# 更多相关请阅读此文章: https://233boy.com/$is_core/caddy-auto-tls/
|
||||
# https://caddyserver.com/docs/caddyfile/options
|
||||
# caddy configuration #
|
||||
{
|
||||
admin off
|
||||
http_port $is_http_port
|
||||
@@ -52,6 +48,6 @@ reverse_proxy https://$proxy_site {
|
||||
;;
|
||||
esac
|
||||
[[ $1 != "new" && $1 != 'proxy' ]] && {
|
||||
[[ ! -f ${is_caddy_site_file}.add ]] && echo "# see https://233boy.com/$is_core/caddy-auto-tls/" >${is_caddy_site_file}.add
|
||||
[[ ! -f ${is_caddy_site_file}.add ]] && echo "# caddy site configuration" >${is_caddy_site_file}.add
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user