re-structure

This commit is contained in:
2021-08-27 09:30:15 +08:00
parent 0bd6b8cb82
commit 8c5b295e74
6 changed files with 414 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
-- Get download image id
local download_image_id = string.match(ngx.var.request_uri, ".*/(.*)$")
ngx.log(ngx.INFO , "Download image id: " .. download_image_id)
-- Set redirect uri
local uri = "/internal_file_upload/" .. download_image_id .. ".jpg"
return ngx.exec(uri)