<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>硬汉工作室 - 服务器</title>
    <link>https://www.nciaer.com/forum-39-1.html</link>
    <description>Latest 20 threads of 服务器</description>
    <copyright>Copyright(C) 硬汉工作室</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 03 Jul 2026 19:08:40 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.nciaer.com/static/image/common/logo_88_31.gif</url>
      <title>硬汉工作室</title>
      <link>https://www.nciaer.com/</link>
    </image>
    <item>
      <title>upstream sent too big header while reading response...问题处理</title>
      <link>https://www.nciaer.com/thread-2325-1-1.html</link>
      <description><![CDATA[今天一位discuz站长向我反映一个问题，就是某个贴子访问返回502，而且还只是某个用户组访问这个贴子才会返回502，拍查了半天，想确定是哪行引起的，无果，后来想到看日志，发现日志里有这么一行： upstream sent too big header while reading response header from ups ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Thu, 26 Oct 2023 03:19:54 +0000</pubDate>
    </item>
    <item>
      <title>server certificate does NOT include an ID which matches...问题的解决</title>
      <link>https://www.nciaer.com/thread-1856-1-1.html</link>
      <description><![CDATA[apache的error.log里包含很多这样的错误日志：
[Fri Dec 23 00:27:53.838454 2022] [ssl:warn]  AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

级别是warn，其实不处理也没问题，但是每天不停插入，多少占用空间 ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Thu, 29 Dec 2022 02:01:59 +0000</pubDate>
    </item>
    <item>
      <title>nginx 封禁某些UA访问</title>
      <link>https://www.nciaer.com/thread-1793-1-1.html</link>
      <description><![CDATA[最近感觉服务器特卡，查了下日志才发现，服务器频繁被某几个相同得UA来访问，但是IP还不同，可能是爬虫吧，搞得服务器特别卡，百度了下nginx如何屏蔽某些ua访问，记录下。

在server段里填写
if ($http_user_agent = \&quot;要屏蔽的UA字符串\&quot;) {
    return 404;
}

需要注意 ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Wed, 24 Aug 2022 09:57:13 +0000</pubDate>
    </item>
    <item>
      <title>宝塔面板配置阿里云免费SSL</title>
      <link>https://www.nciaer.com/thread-486-1-1.html</link>
      <description><![CDATA[我用的服务器软件是apache。
从阿里云申请的免费SSL证书有三个文件，.key文件，_chain.crt文件和_public.crt文件。

.key文件的内容填入宝塔ssl配置界面左边的文本框，_public.crt和_chain.crt文件的内容合并复制到右边的文本框，注意顺序，public文件的内容在前。

完 ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Tue, 19 Nov 2019 14:22:07 +0000</pubDate>
    </item>
    <item>
      <title>apache负载均衡配置</title>
      <link>https://www.nciaer.com/thread-477-1-1.html</link>
      <description><![CDATA[最近研究了下apache负载均衡的配置，打算过些日期配置到公司服务器上。

所谓负载均衡，就是把用户的请求分发到不同的服务器上，让不同服务器来处理用户的请求。

直接上配置吧。

ProxyRequests Off # 值为On是正向代理，Off是反向代理
#mycluster是自己定义的名字

#  ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Thu, 19 Sep 2019 05:36:06 +0000</pubDate>
    </item>
    <item>
      <title>宝塔流量监控里的上行和下行解释</title>
      <link>https://www.nciaer.com/thread-426-1-1.html</link>
      <description><![CDATA[看服务器里的监控，迷迷瞪瞪的，虽然知道是用户上传和下载但是具体是啥，也不清楚，百度了下，记录下来

如题所示，服务器里的上行是指服务器向外发送数据，用户访问网站，下载东西都会产生上行数据。
下行表示服务器接收数据，用户上传文件到服务器会产生下行数据。

 ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Tue, 12 Feb 2019 03:13:50 +0000</pubDate>
    </item>
    <item>
      <title>vsftpd限制用户只能在家目录</title>
      <link>https://www.nciaer.com/thread-2-1-1.html</link>
      <description><![CDATA[默认情况下，创建一个linux用户账户可以也可以登录vsftpd，但是这个账号可以随意切换路径，甚至到linux根目录下，这当然不行，所以应该限制用户只能在自己的家目录下活动，其实只需要在配置文件里增加如下配置即可：重启服务器即可。
但是如果用户的家目录可写，那么又 ...]]></description>
      <category>服务器</category>
      <author>nciaer</author>
      <pubDate>Wed, 24 Oct 2018 06:05:24 +0000</pubDate>
    </item>
  </channel>
</rss>