Strapi with PostgreSQL Middleware "strapi::session": App keys are required. Please set app.keys in config/server.js (ex: keys: ['myKeyA', 'myKeyB'])

Viewed 15

I am trying to set up locally Strapi v4 with PostgreSQL DB. PostgreSQL has been successfully connected, but unfortunately i can not configure APP_KEYS environment variable (.env).

I have downloaded this sample app from Render Cloud https://github.com/render-examples/strapi-postgres and that is the reason for the following bug.

enter image description here

I know that the format should be APP_KEYS=['key1','key2'], but i do not know what exact value and how that value should be specified?

enter image description here

Regards

0 Answers
Related