add mini location

This commit is contained in:
moicen
2021-12-31 12:17:53 +08:00
parent f6f2a8ab17
commit a6de0c7584
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -28,6 +28,12 @@ server {
root $resty_loc/nginx/html/music-room;
index index.html;
location /mini/ {
alias $resty_loc/nginx/html/mini-music-room/;
try_files $uri $uri/ /mini/index.html;
index index.html;
}
#Upload image files
location /api/ngx/image/upload {
content_by_lua_file $resty_loc/resty_funcs/upload.lua;