Compare commits
8 Commits
2250b9d7a8
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a6909b86d | |||
| 18859d83bf | |||
| ce6392c1cb | |||
| 9c9e0adc6e | |||
| 7894b0c865 | |||
| 5f8ed9e3b4 | |||
| 0445e0a38e | |||
| 67d83666ca |
67
nginx.conf
67
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;
|
||||
@@ -49,6 +57,14 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /study-agent/ {
|
||||
proxy_pass http://host.docker.internal:88/;
|
||||
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 /calibre/ {
|
||||
proxy_pass http://host.docker.internal:8100/;
|
||||
proxy_set_header Host $host;
|
||||
@@ -84,6 +100,14 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /music/ {
|
||||
proxy_pass http://host.docker.internal:4000/;
|
||||
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/;
|
||||
}
|
||||
@@ -106,6 +130,49 @@ server {
|
||||
proxy_pass http://host.docker.internal:3000/;
|
||||
}
|
||||
|
||||
location /agent-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8000/;
|
||||
}
|
||||
|
||||
location /study-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8001/;
|
||||
}
|
||||
|
||||
location /health-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8002/;
|
||||
}
|
||||
|
||||
location /family-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8003/;
|
||||
}
|
||||
|
||||
location /patch-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8004/;
|
||||
}
|
||||
|
||||
location /ws/ {
|
||||
proxy_pass http://host.docker.internal:5050;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
||||
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_read_timeout 86400;
|
||||
}
|
||||
|
||||
location /sweet-chat-api/ {
|
||||
proxy_pass http://host.docker.internal:5051/;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ const drawioClick = () => {
|
||||
}
|
||||
|
||||
const resumeClick = () => {
|
||||
ElMessage.info('敬请期待')
|
||||
window.open(`${window.location.origin}/resume/`, '_blank');
|
||||
}
|
||||
|
||||
const refreshClick = () => {
|
||||
|
||||
Reference in New Issue
Block a user