EdgeOneDynamicOrigin
Project description
EdgeOne Dynamic Origin
EdgeOne 是腾讯云的边缘安全加速平台。该脚本为其提供动态更新源站组 IP 的功能。 此功能特别适用于那些 IP 地址可能会变化的源站,确保 CDN 始终能够正确地获取最新的内容。比如仅有动态 IPV6 地址的服务器, 也能够长期稳定部署WEB服务,而不必使用 frp / ngork 等内网端口转发工具。
注意,若要使用该脚本,在 EdgeOne 中的加速域名必须使用源站组配置源站。
使用方法
windows
- 安装
pip install eodo - 运行
eodo -i 15 -p 54321以启动。 -i 15 表示每 15 分钟检查一次源站组 IP 的变化,-p 54321 表示监听端口为 54321。 - 在
http://localhost:54321中配置必要的配置项。
ubuntu
- 安装
pip3 install eodo -U --break-system-packages - 运行
export PATH="$HOME/.local/bin:$PATH" && source ~/.bashrc将 ~/.local/bin 加入 PATH - 运行
eodo -i 15 -p 54321以启动。 -i 15 表示每 15 分钟检查一次源站组 IP 的变化,-p 54321 表示监听端口为 54321。 - 在
http://localhost:54321中配置必要的配置项。
说明
持久化运行可自行配置 任务计划程序 或 systemd 服务。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eodo-0.1.12.tar.gz
(21.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
eodo-0.1.12-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file eodo-0.1.12.tar.gz.
File metadata
- Download URL: eodo-0.1.12.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eae8825556016e0aedeb2f7f5b316a690410f3bf477c7ebf7e8e65853ed66555
|
|
| MD5 |
92486a12159cd96590aff950ae323253
|
|
| BLAKE2b-256 |
09f9977c5b65062a19f6d1605b0f9d14895ed30329bf5422b804703dc904bb84
|
File details
Details for the file eodo-0.1.12-py3-none-any.whl.
File metadata
- Download URL: eodo-0.1.12-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba028f912a9a851d2b1f2ade8cb2c97fd71bb92db7f8eda3a21b90e938d4913b
|
|
| MD5 |
1944b8b867ee467eb1206029ebf027f2
|
|
| BLAKE2b-256 |
a38f115471023b27022376cf126867c516e89daca0dd705d77068a60a32f6d9b
|