cloudflare IP优选 并自动解析到cloudflare(Python实现)
import requests import json from datetime import datetime, timedelta # Cloudflare API 参数 api_token = "zone_id" zone_id = "api_token" domain = "domain" # Telegram Bot 参数 tg_bot…
|
105
|
|
135 字
|
7 分钟
宝塔面板定时拉取github releases版本文件
一、脚本文件 #!/bin/bash # Telegram Bot 设置(写死在代码中) TG_API_TOKEN="Bot API Token" # 替换为你创建的 Bot API Token TG_USER_ID="Telegram 用户 ID" # 替换为你的 Telegram 用户 ID # GitHub Token 设置(写死在代码中) …
|
158
|
|
112 字
|
5 分钟
哪吒面板(v1)安装细节
一、配置文件 配置文件最后添加 upstream dashboard { keepalive 512; server 127.0.0.1:8008; } 二、反代配置 #PROXY-START/ location ^~ / { proxy_pass http://127.0.0.1:8008; proxy_set_header Host $host…
|
131
|
|
131 字
|
4 分钟