feat(日志): 实现定时日志清理功能并统一服务端口为19070
- 添加每小时定时清理项目控制台日志功能,保留最新1000条且不超过24小时 - 将所有服务端口统一调整为19070,包括后端API、Nginx配置和文档 - 优化前端日志显示,支持单行折叠和点击展开 - 更新相关测试用例和部署文档
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
# /vol1/1000/Docker/nginx/sites/bls_project_console/
|
||||
# and will be served from:
|
||||
# /var/www/bls_project_console/
|
||||
# - Backend runs on the HOST at 127.0.0.1:3001.
|
||||
# - Backend runs on the HOST at 127.0.0.1:19070.
|
||||
# Nginx container reaches host via host.docker.internal.
|
||||
# On Linux you typically need in nginx docker-compose:
|
||||
# extra_hosts:
|
||||
# - "host.docker.internal:host-gateway"
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 19199;
|
||||
server_name blv-rd.tech;
|
||||
|
||||
root /var/www/bls_project_console;
|
||||
@@ -24,7 +24,7 @@ server {
|
||||
|
||||
# API reverse proxy
|
||||
location /api/ {
|
||||
proxy_pass http://host.docker.internal:3001;
|
||||
proxy_pass http://host.docker.internal:19070;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user