Skip to content

[discourse]Can an environment variable be added to control whether compress(gzip) is enabled or not? #74879

@wszgrcy

Description

@wszgrcy

Name and Version

bitnami/discourse:latest

What is the problem this feature will solve?

Currently using images, resources will be automatically compressed using gzip, but I want the compression to be managed by superiors (traefik, apisix, nginx...) because superiors support multiple compression formats (zstd, brolti, gzip), which will save some transmission data

What is the feature you are proposing to solve the problem?

Add environment variables and disable internal gzip(nginx)

What alternatives have you considered?

image
image

I started two services simultaneously using Traefik, one is Whoami (successfully using zstd), and the other is Discourse (supporting zstd but returning gzip)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions