We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 672a092 commit 2bbe038Copy full SHA for 2bbe038
amprobe/nginx/conf.d/amprobe.conf
@@ -3,10 +3,10 @@ server {
3
listen [::]:80;
4
server_name _; # 服务器地址或绑定域名
5
6
- location /app {
7
- alias /usr/share/nginx/html/app;
+ location /app/ {
+ root /usr/share/nginx/html;
8
index index.html;
9
- try_files $uri $uri/ /app/index.html;
+ try_files $uri $uri/ index.html;
10
}
11
12
location /app/api/ {
0 commit comments