Site updated: 2022-10-27 14:27:08
This commit is contained in:
10
atom.xml
10
atom.xml
@ -20,9 +20,11 @@
|
||||
<id>https://blog.jingxiyuan.cn/2022/10/27/%E6%9E%81%E7%A9%BA%E9%97%B4web%E7%AB%AFhttps%E7%9B%B4%E8%BF%9Enginx%E9%85%8D%E7%BD%AE/</id>
|
||||
<title>极空间web端https直连nginx配置</title>
|
||||
<link rel="alternate" href="https://blog.jingxiyuan.cn/2022/10/27/%E6%9E%81%E7%A9%BA%E9%97%B4web%E7%AB%AFhttps%E7%9B%B4%E8%BF%9Enginx%E9%85%8D%E7%BD%AE/"/>
|
||||
<content type="html"><ul>
|
||||
<content type="html"><h4 id="介绍"><a class="anchor" href="#介绍">#</a> 介绍</h4>
|
||||
<ul>
|
||||
<li>ip 直连一般都映射了 5055, 但是直接访问 5055 极空间只提供了 http 协议,如果希望使用 https 协议则必须使用其它端口进行访问。以下方案采用 nginx 反向代理实现,端口使用 10000 举例。</li>
|
||||
</ul>
|
||||
<h4 id="配置"><a class="anchor" href="#配置">#</a> 配置</h4>
|
||||
<ol>
|
||||
<li>需要先把 10000 端口在路由器上做好映射。</li>
|
||||
<li>证书生成好并放置到 nginx 上。(证书生成方法不做介绍请自行百度)</li>
|
||||
@ -102,9 +104,7 @@ server &#123;
|
||||
&#125;
|
||||
&#125;
|
||||
</code></pre>
|
||||
<ol start="5">
|
||||
<li>问题</li>
|
||||
</ol>
|
||||
<h4 id="问题"><a class="anchor" href="#问题">#</a> 问题</h4>
|
||||
<ul>
|
||||
<li>需要开启允许嵌套否则登陆后所有应用都是拒绝访问</li>
|
||||
<li>需要配置 proxy_redirect 替换响应 url,否则会跳转到默认 http 协议的 5055 端口</li>
|
||||
@ -951,8 +951,8 @@ X-Frame-Options 三个参数:</p>
|
||||
</content>
|
||||
<category term="生活" scheme="https://blog.jingxiyuan.cn/categories/%E7%94%9F%E6%B4%BB/" />
|
||||
<category term="心情" scheme="https://blog.jingxiyuan.cn/categories/%E7%94%9F%E6%B4%BB/%E5%BF%83%E6%83%85/" />
|
||||
<category term="心情" scheme="https://blog.jingxiyuan.cn/tags/%E5%BF%83%E6%83%85/" />
|
||||
<category term="郁闷" scheme="https://blog.jingxiyuan.cn/tags/%E9%83%81%E9%97%B7/" />
|
||||
<category term="心情" scheme="https://blog.jingxiyuan.cn/tags/%E5%BF%83%E6%83%85/" />
|
||||
<updated>2022-09-28T08:02:00.000Z</updated>
|
||||
</entry>
|
||||
<entry>
|
||||
|
Reference in New Issue
Block a user