添加admin发布管理

This commit is contained in:
zk
2026-07-10 15:43:49 +08:00
parent 57555a9394
commit 7cf324dc5f
3 changed files with 48 additions and 0 deletions
+2
View File
@@ -21,6 +21,7 @@
|------|------|------| |------|------|------|
| www.offerpai.com.cn | 10302 | OfferPie 前端 | | www.offerpai.com.cn | 10302 | OfferPie 前端 |
| api.offerpai.com.cn | 10202 | OfferPie Java 后端 API | | api.offerpai.com.cn | 10202 | OfferPie Java 后端 API |
| admin.offerpai.com.cn | 10062 | OfferPie 管理后台 Admin |
| ai.offerpai.com.cn | 10502 | OfferPie Python AI 服务 | | ai.offerpai.com.cn | 10502 | OfferPie Python AI 服务 |
### 测试环境 ### 测试环境
@@ -29,6 +30,7 @@
|------|------|------| |------|------|------|
| test.offerpai.com.cn | 10302 | OfferPie 前端 | | test.offerpai.com.cn | 10302 | OfferPie 前端 |
| test-api.offerpai.com.cn | 10202 | OfferPie Java 后端 API | | test-api.offerpai.com.cn | 10202 | OfferPie Java 后端 API |
| test-admin.offerpai.com.cn | 10062 | OfferPie 管理后台 Admin |
| test-ai.offerpai.com.cn | 10502 | OfferPie Python AI 服务 | | test-ai.offerpai.com.cn | 10502 | OfferPie Python AI 服务 |
未匹配的域名或 IP 访问返回 444(直接断开连接)。 未匹配的域名或 IP 访问返回 444(直接断开连接)。
+23
View File
@@ -117,6 +117,29 @@ http {
} }
} }
# OfferPie 管理后台 Admin
# admin.offerpai.com.cn → 10062
server {
listen 443 ssl;
http2 on;
server_name admin.offerpai.com.cn;
ssl_certificate /etc/nginx/ssl/offerpai.com.cn.crt;
ssl_certificate_key /etc/nginx/ssl/offerpai.com.cn.key;
location / {
proxy_pass http://172.17.0.1:10062;
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;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
}
}
# OfferPie Python AI 服务 # OfferPie Python AI 服务
# ai.offerpai.com.cn → 10502 # ai.offerpai.com.cn → 10502
server { server {
+23
View File
@@ -117,6 +117,29 @@ http {
} }
} }
# OfferPie 管理后台 Admin(测试)
# test-admin.offerpai.com.cn → 10062
server {
listen 443 ssl;
http2 on;
server_name test-admin.offerpai.com.cn;
ssl_certificate /etc/nginx/ssl/offerpai.com.cn.crt;
ssl_certificate_key /etc/nginx/ssl/offerpai.com.cn.key;
location / {
proxy_pass http://172.17.0.1:10062;
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;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
}
}
# OfferPie Python AI 服务(测试) # OfferPie Python AI 服务(测试)
# test-ai.offerpai.com.cn → 10502 # test-ai.offerpai.com.cn → 10502
server { server {