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.11.tar.gz
(17.4 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.11-py3-none-any.whl
(9.9 kB
view details)
File details
Details for the file eodo-0.1.11.tar.gz.
File metadata
- Download URL: eodo-0.1.11.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6eb2eb6d140223f2f2f417f5f679e2a25a6b421a31e59ff2f0b33b15c8bc2a1
|
|
| MD5 |
bccd46dcee9c00dc5b9a8cfe30a50ab9
|
|
| BLAKE2b-256 |
a61f33473f60c422b9591ed3db1769c745862a02574da12d7e178c07ba15b0f2
|
File details
Details for the file eodo-0.1.11-py3-none-any.whl.
File metadata
- Download URL: eodo-0.1.11-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ab9c1bf5140b0a6c04b59b5b5b8d06dff66980c71619c65b9035ceaef07a281
|
|
| MD5 |
08cdcb7fab1cefccd3f9d5120077bf5d
|
|
| BLAKE2b-256 |
ede774009fb817de429b9b4bbce6ad2d3933648f7e64558e3354c1e98393b1d8
|