Skip to content

Commit f3d1a19

Browse files
authored
Patch 1 (#7017)
* listen on IPv6 as well as IPv4 Added a line to also listen on IPv6. Without this line, I was unable to connect to my freshly installed mattermost server, because IPv6 seemed to be automatically chosen, but nginx didn't listen on it. * removed ssl directive the ssl directive is deprecated and "listen ... ssl" should now be used, according to nginx. removing the statement "ssl on;" doesn't affect behaviour, because ssl is already enabled by the listen directive.
1 parent 8e4b17d commit f3d1a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/install/config-proxy-nginx.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ SSL and HTTP/2 with server push are enabled in the provided configuration exampl
4040
4141
server {
4242
listen 443 ssl http2;
43+
listen [::]:443 ssl http2;
4344
server_name mattermost.example.com;
4445
4546
http2_push_preload on; # Enable HTTP/2 Server Push
4647
47-
ssl on;
4848
ssl_certificate /etc/letsencrypt/live/{domain-name}/fullchain.pem;
4949
ssl_certificate_key /etc/letsencrypt/live/{domain-name}/privkey.pem;
5050
ssl_session_timeout 1d;

0 commit comments

Comments
 (0)