55
edits
Note: Currently new registrations are closed, if you want an account Contact us
Ranjithsiji (talk | contribs) |
Ranjithsiji (talk | contribs) |
||
Line 119: | Line 119: | ||
'''Nginx''' | '''Nginx''' | ||
upstream chat_cluster { | |||
server localhost:5280; | |||
} | |||
location /http-bind { | |||
proxy_set_header X-Real-IP $remote_addr; | |||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |||
proxy_set_header Host $http_host; | |||
proxy_set_header X-Forwarded-Proto https; | |||
proxy_redirect off; | |||
proxy_connect_timeout 5; | |||
proxy_buffering off; | |||
proxy_read_timeout 70; | |||
keepalive_timeout 70; | |||
send_timeout 70; | |||
client_max_body_size 4M; | |||
client_body_buffer_size 128K; | |||
proxy_pass http://chat_cluster; | |||
} | } | ||
=== Chat/Matrix === | === Chat/Matrix === |