diff --git a/nginx.conf b/nginx.conf index a5a7a09..2674144 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,6 +25,14 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + location /resume/ { + proxy_pass http://host.docker.internal:87/; + 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 99a6810..266c412 100644 --- a/src/App.vue +++ b/src/App.vue @@ -134,7 +134,7 @@ const drawioClick = () => { } const resumeClick = () => { - ElMessage.info('敬请期待') + window.open(`${window.location.origin}/resume/`, '_blank'); } const refreshClick = () => {