fix url param read issue, update upyun access token
This commit is contained in:
@@ -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 / {
|
||||
|
||||
@@ -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 / {
|
||||
|
||||
@@ -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 / {
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user