Site updated: 2023-07-01 01:07:43
This commit is contained in:
parent
e1b5ff844a
commit
a4e3a4902f
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
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
6
atom.xml
6
atom.xml
@ -451,8 +451,8 @@
|
|||||||
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
||||||
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
|
||||||
<category term="动态域名解析" scheme="https://hitoli.com/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
|
<category term="动态域名解析" scheme="https://hitoli.com/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
|
||||||
|
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
||||||
<updated>2022-11-30T08:35:00.000Z</updated>
|
<updated>2022-11-30T08:35:00.000Z</updated>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
@ -466,8 +466,8 @@
|
|||||||
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
||||||
<category term="stream" scheme="https://hitoli.com/tags/stream/" />
|
|
||||||
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
||||||
|
<category term="stream" scheme="https://hitoli.com/tags/stream/" />
|
||||||
<updated>2022-11-30T08:09:00.000Z</updated>
|
<updated>2022-11-30T08:09:00.000Z</updated>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
@ -589,8 +589,8 @@
|
|||||||
<figure class="highlight bash"><figcaption data-lang="bash"></figcaption><table><tr><td data-num="1"></td><td><pre><span class="token function">yarn</span> build-test <span class="token comment">#使用.env.alpha 配置文件中的参数</span></pre></td></tr><tr><td data-num="2"></td><td><pre><span class="token function">yarn</span> build-prod <span class="token comment">#使用.env.prod 配置文件中的参数</span></pre></td></tr><tr><td data-num="3"></td><td><pre><span class="token function">yarn</span> build <span class="token parameter variable">--mode</span> alpha <span class="token comment">#使用.env.alpha 配置文件中的参数</span></pre></td></tr><tr><td data-num="4"></td><td><pre><span class="token function">yarn</span> build <span class="token parameter variable">--mode</span> prod <span class="token comment">#使用.env.prod 配置文件中的参数</span></pre></td></tr></table></figure></content>
|
<figure class="highlight bash"><figcaption data-lang="bash"></figcaption><table><tr><td data-num="1"></td><td><pre><span class="token function">yarn</span> build-test <span class="token comment">#使用.env.alpha 配置文件中的参数</span></pre></td></tr><tr><td data-num="2"></td><td><pre><span class="token function">yarn</span> build-prod <span class="token comment">#使用.env.prod 配置文件中的参数</span></pre></td></tr><tr><td data-num="3"></td><td><pre><span class="token function">yarn</span> build <span class="token parameter variable">--mode</span> alpha <span class="token comment">#使用.env.alpha 配置文件中的参数</span></pre></td></tr><tr><td data-num="4"></td><td><pre><span class="token function">yarn</span> build <span class="token parameter variable">--mode</span> prod <span class="token comment">#使用.env.prod 配置文件中的参数</span></pre></td></tr></table></figure></content>
|
||||||
<category term="工作" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/" />
|
<category term="工作" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/" />
|
||||||
<category term="Vue" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/Vue/" />
|
<category term="Vue" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/Vue/" />
|
||||||
<category term="项目部署" scheme="https://hitoli.com/tags/%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2/" />
|
|
||||||
<category term="Vue" scheme="https://hitoli.com/tags/Vue/" />
|
<category term="Vue" scheme="https://hitoli.com/tags/Vue/" />
|
||||||
|
<category term="项目部署" scheme="https://hitoli.com/tags/%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2/" />
|
||||||
<updated>2022-11-09T01:47:00.000Z</updated>
|
<updated>2022-11-09T01:47: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
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
12
feed.json
12
feed.json
@ -184,8 +184,8 @@
|
|||||||
"服务",
|
"服务",
|
||||||
"Nginx",
|
"Nginx",
|
||||||
"Nginx",
|
"Nginx",
|
||||||
"Tengine",
|
"动态域名解析",
|
||||||
"动态域名解析"
|
"Tengine"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -199,8 +199,8 @@
|
|||||||
"服务",
|
"服务",
|
||||||
"Nginx",
|
"Nginx",
|
||||||
"Nginx",
|
"Nginx",
|
||||||
"stream",
|
"Tengine",
|
||||||
"Tengine"
|
"stream"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -251,8 +251,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"工作",
|
"工作",
|
||||||
"Vue",
|
"Vue",
|
||||||
"项目部署",
|
"Vue",
|
||||||
"Vue"
|
"项目部署"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
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
6
rss.xml
6
rss.xml
@ -432,8 +432,8 @@
|
|||||||
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
||||||
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
|
||||||
<category term="动态域名解析" scheme="https://hitoli.com/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
|
<category term="动态域名解析" scheme="https://hitoli.com/tags/%E5%8A%A8%E6%80%81%E5%9F%9F%E5%90%8D%E8%A7%A3%E6%9E%90/" />
|
||||||
|
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
||||||
<pubDate>Wed, 30 Nov 2022 16:35:00 +0800</pubDate>
|
<pubDate>Wed, 30 Nov 2022 16:35:00 +0800</pubDate>
|
||||||
<description><![CDATA[ <h4 id="应用场景"><a class="anchor" href="#应用场景">#</a> 应用场景:</h4>
|
<description><![CDATA[ <h4 id="应用场景"><a class="anchor" href="#应用场景">#</a> 应用场景:</h4>
|
||||||
<p>由于有时候 nginx 代理的时候,第三方域名对应的 ip 可能发生变化,然而没有提前通知,然而如果不配置什么,nginx 又不能智能解析,因此 nginx 动态解析域名就比较重要。</p>
|
<p>由于有时候 nginx 代理的时候,第三方域名对应的 ip 可能发生变化,然而没有提前通知,然而如果不配置什么,nginx 又不能智能解析,因此 nginx 动态解析域名就比较重要。</p>
|
||||||
@ -466,8 +466,8 @@
|
|||||||
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
<category term="服务" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/categories/Linux/%E6%9C%8D%E5%8A%A1/Nginx/" />
|
||||||
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
<category term="Nginx" scheme="https://hitoli.com/tags/Nginx/" />
|
||||||
<category term="stream" scheme="https://hitoli.com/tags/stream/" />
|
|
||||||
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
<category term="Tengine" scheme="https://hitoli.com/tags/Tengine/" />
|
||||||
|
<category term="stream" scheme="https://hitoli.com/tags/stream/" />
|
||||||
<pubDate>Wed, 30 Nov 2022 16:09:00 +0800</pubDate>
|
<pubDate>Wed, 30 Nov 2022 16:09:00 +0800</pubDate>
|
||||||
<description><![CDATA[ <h4 id="引言"><a class="anchor" href="#引言">#</a> 引言</h4>
|
<description><![CDATA[ <h4 id="引言"><a class="anchor" href="#引言">#</a> 引言</h4>
|
||||||
<p>stream 模块一般用于 TCP/UDP 数据流的代理和负载均衡,可以通过 stream 模块代理转发 TCP 消息。我是用来转发 mysql、gitee 等连接的,有天 ip 发生了变动导致连接不上。前期试过配置<span class="blue"> resolver 114.114.114.114 valid=60s;</span> 来动态解析域名,结果 stream 模块不支持 set 函数,这就导致 ip 变动后必须手动重启或者 reload 一下 nginx 才能正常连接。后面经过搜索发现有人说用 Tengine 替代 nginx 可以实现就试了试,结果发现<span class="red"> Tengine 只能实现 http 下的动态域名解析</span>,至此问题依旧。没办法,我只能通过定时任务加脚本判断 ip 是否变动,如果变动就 reload 一下 nginx。</p>
|
<p>stream 模块一般用于 TCP/UDP 数据流的代理和负载均衡,可以通过 stream 模块代理转发 TCP 消息。我是用来转发 mysql、gitee 等连接的,有天 ip 发生了变动导致连接不上。前期试过配置<span class="blue"> resolver 114.114.114.114 valid=60s;</span> 来动态解析域名,结果 stream 模块不支持 set 函数,这就导致 ip 变动后必须手动重启或者 reload 一下 nginx 才能正常连接。后面经过搜索发现有人说用 Tengine 替代 nginx 可以实现就试了试,结果发现<span class="red"> Tengine 只能实现 http 下的动态域名解析</span>,至此问题依旧。没办法,我只能通过定时任务加脚本判断 ip 是否变动,如果变动就 reload 一下 nginx。</p>
|
||||||
@ -570,8 +570,8 @@
|
|||||||
<link>https://hitoli.com/2022/11/09/Vue%E6%8C%89%E7%8E%AF%E5%A2%83%E8%AE%BE%E7%BD%AE%E7%BC%96%E8%AF%91%E9%A1%B9%E7%9B%AE/</link>
|
<link>https://hitoli.com/2022/11/09/Vue%E6%8C%89%E7%8E%AF%E5%A2%83%E8%AE%BE%E7%BD%AE%E7%BC%96%E8%AF%91%E9%A1%B9%E7%9B%AE/</link>
|
||||||
<category term="工作" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/" />
|
<category term="工作" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/" />
|
||||||
<category term="Vue" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/Vue/" />
|
<category term="Vue" scheme="https://hitoli.com/categories/%E5%B7%A5%E4%BD%9C/Vue/" />
|
||||||
<category term="项目部署" scheme="https://hitoli.com/tags/%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2/" />
|
|
||||||
<category term="Vue" scheme="https://hitoli.com/tags/Vue/" />
|
<category term="Vue" scheme="https://hitoli.com/tags/Vue/" />
|
||||||
|
<category term="项目部署" scheme="https://hitoli.com/tags/%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2/" />
|
||||||
<pubDate>Wed, 09 Nov 2022 09:47:00 +0800</pubDate>
|
<pubDate>Wed, 09 Nov 2022 09:47:00 +0800</pubDate>
|
||||||
<description><![CDATA[ <h4 id="引言"><a class="anchor" href="#引言">#</a> 引言</h4>
|
<description><![CDATA[ <h4 id="引言"><a class="anchor" href="#引言">#</a> 引言</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
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
Loading…
x
Reference in New Issue
Block a user