mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
sni_forward: use 444 as the internal nginx port because the 'front' sni forwarder needs to use 443 and this would otherwise conflict
This commit is contained in:
parent
3e2167c4e0
commit
bd363c04cf
3 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@ server {
|
|||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
{% else %}
|
||||
listen 127.0.0.1:443 ssl http2;
|
||||
listen 127.0.0.1:444 ssl http2;
|
||||
{% endif %}
|
||||
server_name {{ domain }};
|
||||
|
||||
|
@ -91,7 +91,7 @@ server {
|
|||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
{% else %}
|
||||
listen 127.0.0.1:443 ssl http2;
|
||||
listen 127.0.0.1:444 ssl http2;
|
||||
{% endif %}
|
||||
server_name xmpp-upload.{{ domain }};
|
||||
root /dev/null;
|
||||
|
|
|
@ -15,7 +15,7 @@ stream {
|
|||
{% endfor %}
|
||||
|
||||
upstream https_default_backend {
|
||||
server 127.0.0.1:443;
|
||||
server 127.0.0.1:444;
|
||||
}
|
||||
|
||||
server {
|
||||
|
|
|
@ -11,7 +11,7 @@ server {
|
|||
listen 443 ssl http2 default_server;
|
||||
listen [::]:443 ssl http2 default_server;
|
||||
{% else %}
|
||||
listen 127.0.0.1:443 ssl http2 default_server;
|
||||
listen 127.0.0.1:444 ssl http2 default_server;
|
||||
{% endif %}
|
||||
|
||||
include /etc/nginx/conf.d/security.conf.inc;
|
||||
|
|
Loading…
Add table
Reference in a new issue