A platform for community discussion. Free, open, simple.
DEV: Increase nginx proxy buffer size (#18530)
Rafael dos Santos Silva4d525a70be26
diff --git a/config/nginx.sample.conf b/config/nginx.sample.confindex 970f845ba0f..99f05f075fe 100644--- a/config/nginx.sample.conf+++ b/config/nginx.sample.conf@@ -14,8 +14,10 @@ upstream discourse {# max_size limits the size of the cacheproxy_cache_path /var/nginx/cache inactive=1440m levels=1:2 keys_zone=one:10m max_size=600m;-# see: https://meta.discourse.org/t/x/74060-proxy_buffer_size 8k;+# Increased from the default value to acommodate large cookies during oAuth2 flows+# like in https://meta.discourse.org/t/x/74060 and large CSP and Link (preload) headers+proxy_buffer_size 16k;+proxy_buffers 4 16k;# If you are going to use Puma, use these:#