remove ts+huiwing APIs from music-room.conf
This commit is contained in:
@@ -44,48 +44,6 @@ server {
|
||||
location /Q25f8xC3Jo.txt {
|
||||
return 200 '323072b225a694281cd23496fa6737ef';
|
||||
}
|
||||
|
||||
#Upload image files
|
||||
location /api/ngx/image/upload {
|
||||
content_by_lua_file $resty_loc/resty_funcs/upload.lua;
|
||||
}
|
||||
#Combine image files
|
||||
location /api/ngx/image/combine {
|
||||
content_by_lua_file $resty_loc/resty_funcs/combine.lua;
|
||||
}
|
||||
#Audio file download
|
||||
location /api/ngx/audio/upload {
|
||||
content_by_lua_file $resty_loc/resty_funcs/upload_audio.lua;
|
||||
}
|
||||
#Audio file convert
|
||||
location /api/ngx/audio/convert {
|
||||
content_by_lua_file $resty_loc/resty_funcs/convert_audio.lua;
|
||||
}
|
||||
#Upyun token
|
||||
location /api/ngx/upyun/token{
|
||||
content_by_lua_file $resty_loc/resty_funcs/upyun_token.lua;
|
||||
}
|
||||
#Static file server
|
||||
location /file_upload {
|
||||
default_type "";
|
||||
alias $tmp_file_dir;
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
}
|
||||
|
||||
location /api/v1/ws/ {
|
||||
proxy_pass http://127.0.0.1:3001/api/v1/ws/;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
location /api/v1/uc/ {
|
||||
proxy_pass http://127.0.0.1:3000/api/v1/uc/;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
location /api/v1/ts/ {
|
||||
proxy_pass http://127.0.0.1:8080/api/v1/ts/;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user