From 6329616f4bd66e4a5a36e31c810d94ee8d9b5961 Mon Sep 17 00:00:00 2001
From: Cxx0822 <1556464090@qq.com>
Date: Fri, 24 Oct 2025 17:24:35 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0easynode?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
nginx.conf | 8 ++++++++
src/App.vue | 12 ++++++++++++
2 files changed, 20 insertions(+)
diff --git a/nginx.conf b/nginx.conf
index bbd0ed4..bb14f1d 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -50,6 +50,14 @@ server {
client_max_body_size 500M;
}
+ location /easynode {
+ proxy_pass http://host.docker.internal:8200;
+ 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 /home-api/ {
proxy_pass http://host.docker.internal:8081/;
}
diff --git a/src/App.vue b/src/App.vue
index ec86482..7ec7901 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -61,6 +61,14 @@
+
+
+
+ EasyNode
+
+
+
@@ -135,6 +143,10 @@ const readestClick = () => {
window.open('https://web.readest.com/', '_blank');
}
+const easynodeClick = () => {
+ window.open(`${window.location.origin}/easynode/`, '_blank');
+}
+
const resumeClick = () => {
ElMessage.info('敬请期待')
}