添加admin发布管理
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|------|------|------|
|
||||
| www.offerpai.com.cn | 10302 | OfferPie 前端 |
|
||||
| api.offerpai.com.cn | 10202 | OfferPie Java 后端 API |
|
||||
| admin.offerpai.com.cn | 10062 | OfferPie 管理后台 Admin |
|
||||
| ai.offerpai.com.cn | 10502 | OfferPie Python AI 服务 |
|
||||
|
||||
### 测试环境
|
||||
@@ -29,6 +30,7 @@
|
||||
|------|------|------|
|
||||
| test.offerpai.com.cn | 10302 | OfferPie 前端 |
|
||||
| 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 服务 |
|
||||
|
||||
未匹配的域名或 IP 访问返回 444(直接断开连接)。
|
||||
|
||||
+23
@@ -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 服务
|
||||
# ai.offerpai.com.cn → 10502
|
||||
server {
|
||||
|
||||
@@ -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 服务(测试)
|
||||
# test-ai.offerpai.com.cn → 10502
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user