Excluding middleware in dynamic config

Hi, if I set middleware under https entry point on the static config to apply to all my services but want to exclude a single service that I manually define in the dynamic config, is there a way to remove the middleware from a single service? More specifically, I have a security headers middleware applied in my static config but my nextcloud container doesnt like those headers so I want to exclude it so I can have a seperate middleware that includes the correct headers. TIA

AFAIK it is not possible.

No problems, Ive now just removed the middleware from my static config and applied it individually with labels to all the containers except nextcloud