mirror of https://github.com/zulip/zulip.git
puppet: Disable proxy_next_upstream feature in nginx config.
(imported from commit 84cad76701f9ee40fa9601ae06b3f804948b96d4)
This commit is contained in:
parent
30eaae72e4
commit
850eae3e8e
|
@ -22,6 +22,7 @@ location ~ /json/get_events|/json/events|/api/v1/events {
|
|||
proxy_buffering off;
|
||||
proxy_read_timeout 1200;
|
||||
|
||||
proxy_next_upstream off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
@ -30,6 +31,7 @@ location ~ /json/get_events|/json/events|/api/v1/events {
|
|||
# Send sockjs requests to Tornado
|
||||
location /sockjs {
|
||||
proxy_pass http://localhost:9993;
|
||||
proxy_next_upstream off;
|
||||
include /etc/nginx/zulip-include/location-sockjs;
|
||||
}
|
||||
|
||||
|
@ -41,6 +43,7 @@ location / {
|
|||
# Second number set to `getconf PAGESIZE`
|
||||
fastcgi_buffers 1024 4k;
|
||||
fastcgi_max_temp_file_size 0;
|
||||
fastcgi_next_upstream off;
|
||||
}
|
||||
|
||||
include /etc/nginx/zulip-include/app.d/*.conf;
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_next_upstream off;
|
||||
|
|
Loading…
Reference in New Issue