Files
web/nginx/admin.conf

11 lines
279 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 供 compose 中 admin 容器使用:宿主机挂载 admin/distSPA 回退
# 外层 Nginx 把 /admin/ 转成 / 转发到本容器
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}