Update nginx config with info on how to enable response compression.
@@ -76,6 +76,13 @@ server {
proxy_cache off;
proxy_set_header Host $host;
max_ranges 0;
+
+ # In a lot of scenarios, it may be beneficial to enable response compression (especially when
+ # working with large executions and StackStorm instance is accessed over public internet).
+ # To enable it, uncomment the lines below and adjust according to your needs.
+ # gzip on;
+ # gzip_min_length 1024;
+ # gzip_types text/plain application/json text/event-stream;
}
location @streamError {
@@ -111,6 +118,14 @@ server {
proxy_buffering off;
proxy_cache off;
max_ranges 0;
+
+ # In a lot of scenarios, it may be beneficial to enable response compression (especially when
+ # working with large executions and StackStorm instance is accessed over public internet).
+ # To enable it, uncomment the lines below and adjust according to your needs.
+ # gzip on;
+ # gzip_min_length 1024;
+ # gzip_types text/plain application/json text/event-stream;
+ # gzip_proxied no-cache no-store private expired auth;
}
location @authError {
