宝塔10周年开年大促,年度钜惠,先领红包再下单,企业版低至941元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【已解答】今天更新ssl提示错误

发表在 Linux面板2025-10-30 22:47 [复制链接] 5 583

20251030224512.png
20251030224540.png

甚至网站监控报表也没统计。
使用道具 举报 只看该作者 回复
发表于 2025-10-31 10:17:43 | 显示全部楼层
检查是否存在/www/server/panel/vhost/nginx/0.site_total_log_format.conf
没有的话创建一个
内容为:
  1. log_format site_total escape=json '{'
  2.             '"server_addr": "$server_addr",'
  3.             '"server_port": $server_port,'
  4.             '"host":"$http_host",'
  5.             '"x_forwarded_for":"$http_x_forwarded_for",'
  6.             '"x-real-ip":"$http_x_real_ip",'
  7.             '"x-forwarded":"$http_x_forwarded",'
  8.             '"forwarded-for":"$http_forwarded_for",'
  9.             '"forwarded":"$http_forwarded",'
  10.             '"true-client-ip":"$http_true_client_ip",'
  11.             '"client-ip":"$http_client_ip",'
  12.             '"ali-cdn-real-ip":"$http_ali_cdn_real_ip",'
  13.             '"cdn-src-ip":"$http_cdn_src_ip",'
  14.             '"cdn-real-ip":"$http_cdn_real_ip",'
  15.             '"cf-connecting-ip":"$http_cf_connecting_ip",'
  16.             '"x-cluster-client-ip":"$http_x_cluster_client_ip",'
  17.             '"wl-proxy-client-ip":"$http_wl_proxy_client_ip",'
  18.             '"proxy-client-ip":"$http_proxy_client_ip",'
  19.             '"remote_addr":"$remote_addr",'
  20.             '"remote_port":$remote_port,'
  21.             '"remote_user":"$remote_user",'
  22.             '"https":"$https",'
  23.             '"req_length":$request_length,'
  24.             '"method":"$request_method",'
  25.             '"uri":"$request_uri",'
  26.             '"request_filename":"$request_filename",'
  27.             '"status":$status,'
  28.             '"sent_bytes":$bytes_sent,'
  29.             '"body_bytes_sent":$body_bytes_sent,'
  30.             '"content_type":"$sent_http_content_type",'
  31.             '"content_encoding":"$sent_http_content_encoding",'
  32.             '"referer":"$http_referer",'
  33.             '"user_agent":"$http_user_agent",'
  34.             '"upstream_addr":"$upstream_addr",'
  35.             '"upstream_status":$upstream_status,'
  36.             '"upstream_response_time":$upstream_response_time,'
  37.             '"take_time":$request_time,'
  38.             '"msec":$msec,'
  39.             '"cookie":"$http_cookie",'
  40.             '"accept":"$http_accept",'
  41.             '"accept_language":"$http_accept_language",'
  42.             '"accept_encoding":"$http_accept_encoding"'
  43.         '}';
复制代码
使用道具 举报 回复 支持 反对
发表于 2025-10-31 23:46:00 | 显示全部楼层
阿珂 发表于 2025-10-31 10:17
检查是否存在/www/server/panel/vhost/nginx/0.site_total_log_format.conf
没有的话创建一个
内容为:

根据你的指示操作,提示如下: 20251031234516.png

顺便反馈下这个提示框样式问题,显示不完整。
使用道具 举报 回复 支持 反对
发表于 2025-11-1 19:28:38 | 显示全部楼层
阿珂 发表于 2025-10-31 10:17
检查是否存在/www/server/panel/vhost/nginx/0.site_total_log_format.conf
没有的话创建一个
内容为:

20251031234516.png

根据上方回复进行修改,点击保存时提示这个,顺便反馈个样式bug,错误内容显示不全,并建议在右下角的两个按钮的左侧增加一个复制错误信息的按钮。
使用道具 举报 回复 支持 反对
发表于 2025-11-2 20:57:01 | 显示全部楼层
怎么两个回复都没有审核?
使用道具 举报 回复 支持 反对
发表于 2025-11-5 11:37:07 | 显示全部楼层
给报错的文件内的配置注释掉
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表