add chek file and upload combined image verify
This commit is contained in:
@@ -41,6 +41,14 @@ server {
|
||||
return 200;
|
||||
}
|
||||
|
||||
|
||||
location /api/ngx/image/check {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/check_file.lua;
|
||||
}
|
||||
|
||||
location /api/ngx/image/upload_combined {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/upload_combined_image.lua;
|
||||
}
|
||||
#Upload image files
|
||||
location /api/ngx/image/upload {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/old_upload.lua;
|
||||
@@ -57,21 +65,10 @@ server {
|
||||
location /api/ngx/image/wx_upload_to_combine {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/wx_upload_to_combine.lua;
|
||||
}
|
||||
|
||||
#Combine image files
|
||||
location /api/ngx/image/combine {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/combine.lua;
|
||||
}
|
||||
|
||||
|
||||
location /api/ngx/image/check {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/check_file.lua;
|
||||
}
|
||||
|
||||
location /api/ngx/image/upload_combined {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/upload_combined_image.lua;
|
||||
}
|
||||
|
||||
#Audio file download
|
||||
location /api/ngx/audio/upload {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/upload_audio.lua;
|
||||
|
||||
Reference in New Issue
Block a user