services.porxie.settings.PORXIE_BLOB_ALLOWED_MIMETYPES

NixOS option

Blob mimetypes that can be served. Wildcards are supported “/”, “image/*”, etc. Validation is done loosely via content sniffing. Further validation can be done by a layer above this proxy, such as an image transformation service. When inference fails, the blob’s type falls back to application/octet-stream. When that type is allowed, blobs failing inference can still be served.

type: null or (list of string)
Default
null
declared in: nixos/modules/services/networking/porxie.nixView source on NixOS/nixpkgs →