babybaby 347a81c90a
新增自定义域名功能 (#8)
Co-authored-by: liucheng.yao <liucheng.yao@ucloud.cn>
2025-11-10 16:01:18 +08:00

20 lines
631 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
global $SDK_VER;
global $UCLOUD_PROXY_SUFFIX;
global $UCLOUD_CUSTOM_DOMAIN;
global $UCLOUD_PUBLIC_KEY;
global $UCLOUD_PRIVATE_KEY;
$SDK_VER = "1.1.0";
//空间域名后缀,请查看控制台上空间域名再配置此处
//https://docs.ucloud.cn/storage_cdn/ufile/tools/introduction
$UCLOUD_PROXY_SUFFIX = '.cn-bj.ufileos.com'; //如果是其他地域的,请参考上面的说明
//可选使用自定义域名your-custom-domain.com置空则继续使用 bucket + suffix
$UCLOUD_CUSTOM_DOMAIN = '';
$UCLOUD_PUBLIC_KEY = 'paste your public key here';
$UCLOUD_PRIVATE_KEY = 'paste your private key here';