mirror of
https://github.com/element-hq/synapse
synced 2024-10-02 11:32:41 +00:00
deploy: 8459ac9be2
This commit is contained in:
parent
1a6697fdde
commit
b045d75651
4 changed files with 10 additions and 10 deletions
|
@ -917,12 +917,12 @@ reverse proxy is using.</p>
|
||||||
<p><strong>NOTE</strong>: You only need one of these.</p>
|
<p><strong>NOTE</strong>: You only need one of these.</p>
|
||||||
<h3 id="nginx"><a class="header" href="#nginx">nginx</a></h3>
|
<h3 id="nginx"><a class="header" href="#nginx">nginx</a></h3>
|
||||||
<pre><code class="language-nginx">server {
|
<pre><code class="language-nginx">server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
# For the federation port
|
# For the federation port
|
||||||
listen 8448 ssl http2 default_server;
|
listen 8448 ssl default_server;
|
||||||
listen [::]:8448 ssl http2 default_server;
|
listen [::]:8448 ssl default_server;
|
||||||
|
|
||||||
server_name matrix.example.com;
|
server_name matrix.example.com;
|
||||||
|
|
||||||
|
|
|
@ -204,12 +204,12 @@ reverse proxy is using.</p>
|
||||||
<p><strong>NOTE</strong>: You only need one of these.</p>
|
<p><strong>NOTE</strong>: You only need one of these.</p>
|
||||||
<h3 id="nginx"><a class="header" href="#nginx">nginx</a></h3>
|
<h3 id="nginx"><a class="header" href="#nginx">nginx</a></h3>
|
||||||
<pre><code class="language-nginx">server {
|
<pre><code class="language-nginx">server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
|
||||||
# For the federation port
|
# For the federation port
|
||||||
listen 8448 ssl http2 default_server;
|
listen 8448 ssl default_server;
|
||||||
listen [::]:8448 ssl http2 default_server;
|
listen [::]:8448 ssl default_server;
|
||||||
|
|
||||||
server_name matrix.example.com;
|
server_name matrix.example.com;
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue