fix: 更新反向代理模板的下载地址
将模板下载地址从旧仓库更新为新仓库地址,以使用最新的配置文件模板
This commit is contained in:
1 parent
e5b9aa5b49
commit
051843c158
1 file changed
+1
-1
@@ -36,7 +36,7 @@ echo "当前定时任务:"
|
||||
crontab -l | grep acme
|
||||
|
||||
echo "配置反向代理配置文件..."
|
||||
wget -O /home/web/conf.d/"$domain_name".conf https://raw.githubusercontent.com/kejilion/nginx/main/reverse-proxy-template.conf
|
||||
wget -O /home/web/conf.d/"$domain_name".conf https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/reverse-proxy-template.conf
|
||||
sed -i "s/yuming.com/$domain_name/g" /home/web/conf.d/"$domain_name".conf
|
||||
sed -i "s/0.0.0.0/$ip_address/g" /home/web/conf.d/"$domain_name".conf
|
||||
sed -i "s/0000/$port/g" /home/web/conf.d/"$domain_name".conf
|
||||
|
||||
Reference in new issue
Block a user