提交 f8de6653 编写于 作者: 徐晓伟's avatar 徐晓伟

🔧 try_files

上级 282025c0
...@@ -10,11 +10,13 @@ server { ...@@ -10,11 +10,13 @@ server {
location / { location / {
root /usr/share/nginx/html/gitlab-k8s; root /usr/share/nginx/html/gitlab-k8s;
try_files $uri $uri/ /index.html;
index index.html index.htm; index index.html index.htm;
} }
location /gitlab-k8s { location /gitlab-k8s {
root /usr/share/nginx/html; root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
index index.html index.htm; index index.html index.htm;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册