# Mattermost-6.7.0-linux-amd64 NGINX Proxy

**URL:** <https://forum.mattermost.com/t/mattermost-6-7-0-linux-amd64-nginx-proxy/13497>\
**Category:** Docs - Help Wanted\
**Created:** [June 4, 2022, 3:06pm UTC](https://forum.mattermost.com/t/mattermost-6-7-0-linux-amd64-nginx-proxy/13497 "2022-06-04T15:06:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Volker](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Volker](https://forum.mattermost.com/u/Volker)\
**Post date:** [June 4, 2022, 3:06pm UTC](https://forum.mattermost.com/t/mattermost-6-7-0-linux-amd64-nginx-proxy/13497/1 "2022-06-04T15:06:11Z")

</div>

Hello, I installed mattermost-6.7.0-linux-amd64 on my “Ubuntu.20.04.3 LTS focal” server.  
I use NGINX.1.14.0 for many servers, which is configured as a proxy with folder’s and IP filter,  
but unfortunately that doesn’t work with Mattermost, I’ve tried everything I could find on the internet.

I am new…

# ----------- NGINX .1.14.0 Begin Mattermost Konfiguration ------------ 02,06.2022 --------------------------

server {

listen 443 ssl http2;  
listen [::]:443 ssl http2;  
server\_name test999\_com; ( \_ is a dot ) (new user can only 2 link show )  
… ssl at so on…  
…  
…  
}  
location /matterhost/api/v[0-9]+/(users/)?websocket$ {

```
   proxy_set_header Upgrade $http_upgrade;
   proxy_set_header Connection "upgrade";
   client_max_body_size 50M;
   proxy_set_header Host $http_host;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header X-Forwarded-Proto $scheme;
   proxy_set_header X-Frame-Options SAMEORIGIN;
   proxy_buffers 256 16k;
   proxy_buffer_size 16k;
   client_body_timeout 60;
   send_timeout 300;
   lingering_timeout 5;
   proxy_connect_timeout 90;
   proxy_send_timeout 300;
   proxy_read_timeout 90s;
  proxy_pass IP-Address:8065; ( http:// new user can only 2 link schow )

```

}

location /matterhost {  
client\_max\_body\_size 50M;  
proxy\_set\_header Connection “”;  
proxy\_set\_header Host $http\_host;  
proxy\_set\_header X-Real-IP $remote\_addr;  
proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for;  
proxy\_set\_header X-Forwarded-Proto $scheme;  
proxy\_set\_header X-Frame-Options SAMEORIGIN;  
proxy\_buffers 256 16k;  
proxy\_buffer\_size 16k;  
proxy\_read\_timeout 600s;  
proxy\_cache\_revalidate on;  
proxy\_cache\_min\_uses 2;  
proxy\_cache\_use\_stale timeout;  
proxy\_cache\_lock on;  
proxy\_pass IP-Address:8065; ( http:// new user can only 2 link schow )  
proxy\_redirect [http://IP-Address:8065](http://IP-Address:8065) [https://test999.com](https://test999.com);  
access\_log /var/log/nginx/RZKVM331-mattermost-test999.com.access.log;

# ------------ NGINX.1.14.0 ENDE Mattermost configuration -----------------------------

need help … ☹  
has anyone ever solved the problem?

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [July 15, 2022, 12:11pm UTC](https://forum.mattermost.com/t/mattermost-6-7-0-linux-amd64-nginx-proxy/13497/2 "2022-07-15T12:11:54Z")

</div>

Hi Volker,

this is not the full nginx config, at least the “upstream” configuration is missing here.  
Can you share the current nginx configuration again and maybe use the “preformatted text” feature here so that the board does not kill the formatting?

Also, can you please describe the problems you’re experiencing? What are you trying to do and what are you seeing?
