Skip to content

Back-to-Origin Authentication Signature Algorithm(nginx+lua)

License

Notifications You must be signed in to change notification settings

asgard2023/cdnSign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdn回源鉴权签名算法(nginx+lua)

介绍

cdn图片或文件的回源鉴权
支持七牛、阿里等,理论上只要支持回源鉴权的cdn都能用这套方案。

软件架构

软件架构说明
基于openresty的nginx+lua,性能很好。

安装教程

  1. 安装openresty(略)
  2. lua配置,见:src/openresty/cdnSign.lua
  3. nginx,见:src/openresty/cdnAuth.conf

演示地址

About

Back-to-Origin Authentication Signature Algorithm(nginx+lua)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published