Setting Response Header Set-Cookie: Secure;HttpOnly


What's the proper way to set Reponse Header Set-Cookie: Secure;HttpOnly. I want to force all cookies to utilize secure and httponly.

I'm using traefik version 1.7.19 and docker-compose labels to set headers.

I'm using

"traefik.frontend.headers.customResponseHeaders=Set-Cookie:Secure;HttpOnly" which works but it seems to replace any cookies being set by the application with a blank cookie name and the value to be "secure"