Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !357

Merged
Created Jul 13, 2018 by Łukasz Nowak@lukeMaintainer

Caddy frontend prefer gzip

  • Overview 4
  • Commits 3
  • Changes 4

Implements rewriting Accept-Encoding header to gzip if gzip is anyhow present (alone Accept-Encoding: gzip or mixed Accept-Encoding: deflate, gzip).

Thanks to using Caddy's http.rewrite + http.proxy's without switch no plugin was required.

Also template was amended, as its complexity increased.

Test test_prefer_gzip_encoding_to_backend for caddy-frontendhas been enabled to prove that it works.

Test 20180713-BE73C02 PASSED.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: caddy-frontend-prefer-gzip
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7