Site updated: 2023-01-05 14:22:33

This commit is contained in:
qinglong 2023-01-05 14:22:35 +08:00
parent d222f8bd17
commit 7969c5da36
136 changed files with 145 additions and 145 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -64,8 +64,8 @@
<category term="解决问题" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/" /> <category term="解决问题" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/" />
<category term="KLineChart" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/KLineChart/" /> <category term="KLineChart" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/KLineChart/" />
<category term="KLineChart" scheme="https://blog.jingxiyuan.cn/tags/KLineChart/" /> <category term="KLineChart" scheme="https://blog.jingxiyuan.cn/tags/KLineChart/" />
<category term="K线" scheme="https://blog.jingxiyuan.cn/tags/K%E7%BA%BF/" />
<category term="自定义指标" scheme="https://blog.jingxiyuan.cn/tags/%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E6%A0%87/" /> <category term="自定义指标" scheme="https://blog.jingxiyuan.cn/tags/%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E6%A0%87/" />
<category term="K线" scheme="https://blog.jingxiyuan.cn/tags/K%E7%BA%BF/" />
<updated>2022-12-02T07:16:00.000Z</updated> <updated>2022-12-02T07:16:00.000Z</updated>
</entry> </entry>
<entry> <entry>
@ -136,8 +136,8 @@
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" /> <category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<category term="动态域名解析" scheme="https://blog.jingxiyuan.cn/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" /> <category term="动态域名解析" scheme="https://blog.jingxiyuan.cn/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<updated>2022-11-30T08:35:00.000Z</updated> <updated>2022-11-30T08:35:00.000Z</updated>
</entry> </entry>
<entry> <entry>
@ -151,8 +151,8 @@
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" /> <category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" />
<category term="stream" scheme="https://blog.jingxiyuan.cn/tags/stream/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" /> <category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<category term="stream" scheme="https://blog.jingxiyuan.cn/tags/stream/" />
<updated>2022-11-30T08:09:00.000Z</updated> <updated>2022-11-30T08:09:00.000Z</updated>
</entry> </entry>
<entry> <entry>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,8 +30,8 @@
"解决问题", "解决问题",
"KLineChart", "KLineChart",
"KLineChart", "KLineChart",
"K线", "自定义指标",
"自定义指标" "K线"
] ]
}, },
{ {
@ -59,8 +59,8 @@
"服务", "服务",
"Nginx", "Nginx",
"Nginx", "Nginx",
"Tengine", "动态域名解析",
"动态域名解析" "Tengine"
] ]
}, },
{ {
@ -74,8 +74,8 @@
"服务", "服务",
"Nginx", "Nginx",
"Nginx", "Nginx",
"stream", "Tengine",
"Tengine" "stream"
] ]
}, },
{ {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -58,8 +58,8 @@
<category term="解决问题" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/" /> <category term="解决问题" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/" />
<category term="KLineChart" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/KLineChart/" /> <category term="KLineChart" scheme="https://blog.jingxiyuan.cn/categories/%E5%B7%A5%E4%BD%9C/%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98/KLineChart/" />
<category term="KLineChart" scheme="https://blog.jingxiyuan.cn/tags/KLineChart/" /> <category term="KLineChart" scheme="https://blog.jingxiyuan.cn/tags/KLineChart/" />
<category term="K线" scheme="https://blog.jingxiyuan.cn/tags/K%E7%BA%BF/" />
<category term="自定义指标" scheme="https://blog.jingxiyuan.cn/tags/%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E6%A0%87/" /> <category term="自定义指标" scheme="https://blog.jingxiyuan.cn/tags/%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8C%87%E6%A0%87/" />
<category term="K线" scheme="https://blog.jingxiyuan.cn/tags/K%E7%BA%BF/" />
<pubDate>Fri, 02 Dec 2022 15:16:00 +0800</pubDate> <pubDate>Fri, 02 Dec 2022 15:16:00 +0800</pubDate>
<description><![CDATA[ &lt;h4 id=&#34;引言&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#引言&#34;&gt;#&lt;/a&gt; 引言&lt;/h4&gt; <description><![CDATA[ &lt;h4 id=&#34;引言&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#引言&#34;&gt;#&lt;/a&gt; 引言&lt;/h4&gt;
&lt;p&gt;本次任务是需要在一个指标图上通过点击标记画出此标记参与计算的数据范围、最高最低值、参考线等等,于是有了以下代码。代码仅供参考,如有错误的地方请指正!&lt;br /&gt; &lt;p&gt;本次任务是需要在一个指标图上通过点击标记画出此标记参与计算的数据范围、最高最低值、参考线等等,于是有了以下代码。代码仅供参考,如有错误的地方请指正!&lt;br /&gt;
@ -117,8 +117,8 @@
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" /> <category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<category term="动态域名解析" scheme="https://blog.jingxiyuan.cn/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" /> <category term="动态域名解析" scheme="https://blog.jingxiyuan.cn/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<pubDate>Wed, 30 Nov 2022 16:35:00 +0800</pubDate> <pubDate>Wed, 30 Nov 2022 16:35:00 +0800</pubDate>
<description><![CDATA[ &lt;h4 id=&#34;应用场景&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#应用场景&#34;&gt;#&lt;/a&gt; 应用场景:&lt;/h4&gt; <description><![CDATA[ &lt;h4 id=&#34;应用场景&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#应用场景&#34;&gt;#&lt;/a&gt; 应用场景:&lt;/h4&gt;
&lt;p&gt;由于有时候 nginx 代理的时候,第三方域名对应的 ip 可能发生变化然而没有提前通知然而如果不配置什么nginx 又不能智能解析,因此 nginx 动态解析域名就比较重要。&lt;/p&gt; &lt;p&gt;由于有时候 nginx 代理的时候,第三方域名对应的 ip 可能发生变化然而没有提前通知然而如果不配置什么nginx 又不能智能解析,因此 nginx 动态解析域名就比较重要。&lt;/p&gt;
@ -151,8 +151,8 @@
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" /> <category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
<category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" /> <category term="Nginx" scheme="https://blog.jingxiyuan.cn/tags/Nginx/" />
<category term="stream" scheme="https://blog.jingxiyuan.cn/tags/stream/" />
<category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" /> <category term="Tengine" scheme="https://blog.jingxiyuan.cn/tags/Tengine/" />
<category term="stream" scheme="https://blog.jingxiyuan.cn/tags/stream/" />
<pubDate>Wed, 30 Nov 2022 16:09:00 +0800</pubDate> <pubDate>Wed, 30 Nov 2022 16:09:00 +0800</pubDate>
<description><![CDATA[ &lt;h4 id=&#34;引言&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#引言&#34;&gt;#&lt;/a&gt; 引言&lt;/h4&gt; <description><![CDATA[ &lt;h4 id=&#34;引言&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#引言&#34;&gt;#&lt;/a&gt; 引言&lt;/h4&gt;
&lt;p&gt;stream 模块一般用于 TCP/UDP 数据流的代理和负载均衡,可以通过 stream 模块代理转发 TCP 消息。我是用来转发 mysql、gitee 等连接的,有天 ip 发生了变动导致连接不上。前期试过配置&lt;span class=&#34;blue&#34;&gt; resolver 114.114.114.114 valid=60s;&lt;/span&gt; 来动态解析域名,结果 stream 模块不支持 set 函数,这就导致 ip 变动后必须手动重启或者 reload 一下 nginx 才能正常连接。后面经过搜索发现有人说用 Tengine 替代 nginx 可以实现就试了试,结果发现&lt;span class=&#34;red&#34;&gt; Tengine 只能实现 http 下的动态域名解析&lt;/span&gt;,至此问题依旧。没办法,我只能通过定时任务加脚本判断 ip 是否变动,如果变动就 reload 一下 nginx。&lt;/p&gt; &lt;p&gt;stream 模块一般用于 TCP/UDP 数据流的代理和负载均衡,可以通过 stream 模块代理转发 TCP 消息。我是用来转发 mysql、gitee 等连接的,有天 ip 发生了变动导致连接不上。前期试过配置&lt;span class=&#34;blue&#34;&gt; resolver 114.114.114.114 valid=60s;&lt;/span&gt; 来动态解析域名,结果 stream 模块不支持 set 函数,这就导致 ip 变动后必须手动重启或者 reload 一下 nginx 才能正常连接。后面经过搜索发现有人说用 Tengine 替代 nginx 可以实现就试了试,结果发现&lt;span class=&#34;red&#34;&gt; Tengine 只能实现 http 下的动态域名解析&lt;/span&gt;,至此问题依旧。没办法,我只能通过定时任务加脚本判断 ip 是否变动,如果变动就 reload 一下 nginx。&lt;/p&gt;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More