Error: Middleware "strapi::session": App keys are required

@Eventyret Are these APP_KEYS and API_TOKEN_SALT? So, should they be committed to the remote repository or not?

If you have a continuous deployment setup, you want this file to be there already, but you also don’t want to commit sensitive info.

The alternative would be to specify these environment variables in the pm2 configuration file, if you’re doing that, assuming this works (i.e. you just need to export these environment variables and it does not matter if this is done in the .env or somewhere else).

Moreover, I am in the process of migrating a Strapi 3.6.11 to Strapi 4.15. An APP_KEYS and API_TOKEN_SALT was generated at some point. Do I need to use this specific one in production or maybe this is not necessary?