Skip to content

Commit 2bbe038

Browse files
committed
feat: update nginx confi
1 parent 672a092 commit 2bbe038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

amprobe/nginx/conf.d/amprobe.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ server {
33
listen [::]:80;
44
server_name _; # 服务器地址或绑定域名
55

6-
location /app {
7-
alias /usr/share/nginx/html/app;
6+
location /app/ {
7+
root /usr/share/nginx/html;
88
index index.html;
9-
try_files $uri $uri/ /app/index.html;
9+
try_files $uri $uri/ index.html;
1010
}
1111

1212
location /app/api/ {

0 commit comments

Comments
 (0)