Skip to content

Commit

Permalink
feat: update nginx confi
Browse files Browse the repository at this point in the history
  • Loading branch information
amuluze committed Sep 29, 2024
1 parent 672a092 commit 2bbe038
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions amprobe/nginx/conf.d/amprobe.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ server {
listen [::]:80;
server_name _; # 服务器地址或绑定域名

location /app {
alias /usr/share/nginx/html/app;
location /app/ {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /app/index.html;
try_files $uri $uri/ index.html;
}

location /app/api/ {
Expand Down

0 comments on commit 2bbe038

Please sign in to comment.