From 3ee6242d1e1e56249a52a5a2a6bdaa60e6a4ae8c Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:37:59 +0200 Subject: [PATCH] Update nginx.conf (#474) --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9e32209..5dee3de 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ # Directives from the Mattermost installation guide -location ~ __PATH__/api/v[0-9]+/(users/)?websocket$ { +location ~ ^__PATH__/api/v[0-9]+/(users/)?websocket$ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; client_max_body_size 50M;