Skip to content

web-server: add compression #2271

Open
Open
@syphar

Description

@syphar

In my mind, this could be solved via:

  • adding a reverse proxy to the container (NGINX, Caddy) and enabling compression
  • adding a compression middleware to axum

I assume axum is fine being exposed to the internet and doesn't need to be behind a reverse proxy (?).

Also in our current NGINX config: IP blocks, while it's unclear if we would handle this in AWS / CloudFront, or if we would have to handle this in our webserver (see rust-lang/simpleinfra#353)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-backendArea: Webserver backendE-easyEffort: Should be easy to implement and would make a good first PRmentorThis has instructions for getting started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions