add mini location
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user