Skip to content

feat(nginx): enable gzip

Marco Wettstein requested to merge nginx-gzip into main

on kubernetes the ingress already enables compression, however this does not work for cloud-run or custom deployments that uses static deployment

Unsure how this behaves on kubernetes, but i think it should work just fine if headers are set properly.

if not, we make this configurable, but that requires a bit of refactoring, as ensureNginxDockerfile is used twice currently. We should introduce some function that creates the whole nginx-docker-job including the logic to enable/disable gzip

Merge request reports