This commit is contained in:
2022-03-09 01:57:15 +08:00
parent e3cdd92cb3
commit 6d9ca41ebf
4 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -9,8 +9,7 @@ end
local file_to_check = string.match(ngx.var.request_uri, ".*/(.*)")
local file_dir = ngx.var.tmp_file_dir
local fullpath = file_dir .. "/" .. file_to_check .. ".jpeg";
ngx.log(ngx.INFO, "FILE TO CHECK -> ", fullpath)
ngx.say(file_exists(fullpath))