I am setting up a Nginx proxy server for mattermost. I have Nginx listening to port 443 and the page comes up just fine. I then created my mattermost.conf file for Nginx to use but I noticed that the version of Nginx I am using (1.10.2) does not follow the documentation here: https://docs.mattermost.com/install/install-rhel-71.html#installing-nginx-server
The Nginx server I have installed actually grabs conf files from /etc/nginx/conf.d/ and not from /etc/nginx/sites-available/. I still configured the mattermost.conf file for Nginx but when I attempt to start Nginx I get an error:
proxy_busy_buffer_size must be less than the size of all “proxy-buffer”
Has anyone else had this error?
I am hosting the proxy on the same server as my mattermost server.
I will be testing that today and I will update the post with my results. Does anyone know which version of NGINX should be used for the installation guide?
Here is helpful feedback from one community member:
Documentation suggests that Ubuntu 14.04 is supported. That comes with nginx 1.4.6. So, that or something more recent, probably. Also, the include folder ( conf.d vs. sites-available ) is configurable and shouldn’t matter. Does your nginx configuration specify a value for proxy_busy_buffer_size ? Is it smaller than proxy_buffers ? Does the same happen for smaller proxy_busy_buffer_size values? (nginx documentation).