convert audio
This commit is contained in:
+8
-1
@@ -15,6 +15,13 @@ server {
|
||||
set $resty_loc "/usr/local/openresty";
|
||||
set $convert "/usr/bin/convert";
|
||||
|
||||
set $upyun_operator "moicen";
|
||||
set $upyun_password = "NyJ51zRwFApY9Wo9EHJMrb8GI9YtvpVN";
|
||||
set $upyun_bucket "huiwing";
|
||||
set $upyun_directory "music-room"
|
||||
set $upyun_cdn "https://upyun.alchemy-studio.cn/music-room/"
|
||||
set $upyun_api "https://v2.api.upyun.com";
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
proxy_set_header Host "test-music-room.moicen.com";
|
||||
@@ -51,7 +58,7 @@ server {
|
||||
content_by_lua_file $resty_loc/resty_funcs/convert_audio.lua;
|
||||
}
|
||||
#Upyun token
|
||||
location /api/ngx/upyun_token{
|
||||
location /api/ngx/upyun/token{
|
||||
content_by_lua_file $resty_loc/resty_funcs/upyun_token.lua;
|
||||
}
|
||||
#Static file server
|
||||
|
||||
Reference in New Issue
Block a user