diff --git a/nginx.conf b/nginx.conf
index ff6ec58..d10e4e1 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -15,6 +15,14 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
+ location /blog-press/ {
+ proxy_pass http://host.docker.internal:86/;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
+
location /sweet-hut/ {
proxy_pass http://host.docker.internal:83/;
proxy_set_header Host $host;
diff --git a/src/App.vue b/src/App.vue
index d108e7d..99a6810 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -13,6 +13,11 @@
博客网站
+
+
+ 博客Press
+
+
博客Admin
@@ -81,6 +86,10 @@ const blogClick = () => {
window.open(`${window.location.origin}/blog/`, '_blank');
}
+const blogPressClick = () => {
+ window.open(`${window.location.origin}/blog-press/`, '_blank');
+}
+
const sweetHutClick = () => {
if (!isMobile()) {
ElMessage.info('暂不支持PC端访问')