Microsoft auth "Cannot send secure cookie over unencrypted connection"

I solved problem with this line in server.js: (strapi 4.3.x)
proxy: env.bool(“IS_PROXIED”, true)