Skip to content

Commit

Permalink
Patch 1 (#7017)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
aszakacs authored Apr 2, 2024
1 parent 8e4b17d commit f3d1a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/install/config-proxy-nginx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ SSL and HTTP/2 with server push are enabled in the provided configuration exampl
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mattermost.example.com;
http2_push_preload on; # Enable HTTP/2 Server Push
ssl on;
ssl_certificate /etc/letsencrypt/live/{domain-name}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{domain-name}/privkey.pem;
ssl_session_timeout 1d;
Expand Down

0 comments on commit f3d1a19

Please sign in to comment.