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;