fix url param read issue, update upyun access token

This commit is contained in:
moicen
2022-07-16 23:16:00 +08:00
parent a730521d5b
commit 627481e41a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ server {
set $upyun_directory "music-room";
set $upyun_cdn "https://upyun.alchemy-studio.cn/";
set $wx_domain "wx.alchemy-studio.cn";
set $upt_secret "C29DBA1F1EA4462088136C3A85C2FBFC";
set $upt_secret "0D32E581A445404FA4C306709724FA07";
set $upt_duration 3600;
location / {
+1 -1
View File
@@ -16,7 +16,7 @@ server {
set $upyun_directory "music-room";
set $upyun_cdn "https://upyun.dev.moicen.com/";
set $wx_domain "dev.wx.moicen.com";
set $upt_secret "C29DBA1F1EA4462088136C3A85C2FBFC";
set $upt_secret "0D32E581A445404FA4C306709724FA07";
set $upt_duration 3600;
location / {
+1 -1
View File
@@ -16,7 +16,7 @@ server {
set $upyun_directory "music-room";
set $upyun_cdn "https://upyun.dev.moicen.com/";
set $wx_domain "dev.wx.moicen.com";
set $upt_secret "C29DBA1F1EA4462088136C3A85C2FBFC";
set $upt_secret "0D32E581A445404FA4C306709724FA07";
set $upt_duration 3600;
location / {
+1 -1
View File
@@ -23,7 +23,7 @@ server {
set $upyun_directory "music-room";
set $upyun_cdn "https://upyun.moicen.com/";
set $wx_domain "wx.moicen.com";
set $upt_secret "C29DBA1F1EA4462088136C3A85C2FBFC";
set $upt_secret "339666FBB93C46D7B00D9F6E790C6C18";
set $upt_duration 3600;
location / {
+1 -1
View File
@@ -1,4 +1,4 @@
local uri = ngx.var.arg_uri
local uri = ngx.unescape_uri(ngx.var.arg_uri)
local secret = ngx.var.upt_secret
local duration = ngx.var.upt_duration
local etime = os.time() + duration