feat:更新dockerfile
This commit is contained in:
@@ -25,7 +25,7 @@ export default defineConfig({
|
|||||||
{
|
{
|
||||||
text: 'Web',
|
text: 'Web',
|
||||||
items: [
|
items: [
|
||||||
{ text: 'MySQL知识点', link: '/Web/MySQL知识点' }
|
{ text: 'MySQL知识点', link: '/Web/MySQL-Knowledge' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -33,9 +33,9 @@ export default defineConfig({
|
|||||||
{
|
{
|
||||||
text: 'DevOps',
|
text: 'DevOps',
|
||||||
items: [
|
items: [
|
||||||
{ text: 'OpenObserve部署和简单使用', link: '/DevOps/OpenObserve部署和简单使用' },
|
{ text: 'OpenObserve部署和使用', link: '/DevOps/OpenObserve' },
|
||||||
{ text: 'Jenkins部署和使用', link: '/DevOps/Jenkins部署和使用' },
|
{ text: 'Jenkins部署和使用', link: '/DevOps/Jenkins' },
|
||||||
{ text: 'ElasticSearch部署和使用', link: '/DevOps/ElasticSearch部署和使用' }
|
{ text: 'ElasticSearch部署和使用', link: '/DevOps/ElasticSearch' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -43,8 +43,8 @@ export default defineConfig({
|
|||||||
{
|
{
|
||||||
text: 'SpringBoot',
|
text: 'SpringBoot',
|
||||||
items: [
|
items: [
|
||||||
{ text: 'Spring IOC简介', link: '/SpringBoot/SpringIOC简介' },
|
{ text: 'Spring IOC简介', link: '/SpringBoot/SpringIOC' },
|
||||||
{ text: 'SpringBoot启动流程', link: '/SpringBoot/SpringBoot启动流程' }
|
{ text: 'SpringBoot启动流程', link: '/SpringBoot/SpringBoot-Start-Process' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -82,7 +82,7 @@ export default defineConfig({
|
|||||||
|
|
||||||
outline: {
|
outline: {
|
||||||
label: "目录",
|
label: "目录",
|
||||||
level: [1, 2]
|
level: [1, 3]
|
||||||
},
|
},
|
||||||
|
|
||||||
returnToTopLabel: "返回顶部",
|
returnToTopLabel: "返回顶部",
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ title: DevOps
|
|||||||
|
|
||||||
# 📚 内容导航
|
# 📚 内容导航
|
||||||
|
|
||||||
- [OpenObserve部署和简单使用](/DevOps/OpenObserve部署和简单使用)
|
- [OpenObserve部署和使用](/DevOps/OpenObserve)
|
||||||
- [Jenkins部署和使用](/DevOps/Jenkins部署和使用)
|
- [Jenkins部署和使用](/DevOps/Jenkins)
|
||||||
- [ElasticSearch部署和使用](/DevOps/ElasticSearch部署和使用)
|
- [ElasticSearch部署和使用](/DevOps/ElasticSearch)
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ title: SpringBoot
|
|||||||
|
|
||||||
# 📚 内容导航
|
# 📚 内容导航
|
||||||
|
|
||||||
- [Spring IOC简介](/SpringBoot/SpringIOC简介)
|
- [Spring IOC简介](/SpringBoot/SpringIOC)
|
||||||
- [SpringBoot启动流程](/SpringBoot/SpringBoot启动流程)
|
- [SpringBoot启动流程](/SpringBoot/SpringBoot-Start-Process)
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ title: Web
|
|||||||
|
|
||||||
# 📚 内容导航
|
# 📚 内容导航
|
||||||
|
|
||||||
- [MySQL知识点](/Web/MySQL知识点)
|
- [MySQL知识点](/Web/MySQL-Knowledge)
|
||||||
|
|||||||
18
nginx.conf
18
nginx.conf
@@ -1,18 +1,16 @@
|
|||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
gzip on;
|
||||||
listen [::]:80 default_server;
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
listen 80;
|
||||||
index index.html;
|
server_name _;
|
||||||
|
|
||||||
server_name _;
|
# 设置根目录
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
location /blog-press/ {
|
location /blog-press/ {
|
||||||
alias /usr/share/nginx/html/;
|
# VitePress SPA 路由支持
|
||||||
try_files $uri $uri/ /blog-press/index.html;
|
try_files $uri $uri/ /blog-press/index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ =404;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user