-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include APP_KEYS in Heroku Deployment Guide - fix #807 #838
Conversation
Under title 5. Create your Strapi server config for production Update env/production/server.js to include app -> keys object Include bash command to set APP_KEYS environment variable on Heroku
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/strapijs/documentation/322TfZsMW55snnf3vJUDzgAAeoBo |
Hello @dsfaccini, Thank you for your contribution. I will review it by the end of this week. |
docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md
Show resolved
Hide resolved
@dsfaccini If you can address the one comment on this PR I will merge it ASAP. Thanks for the contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
What does it do?
Describe the technical changes you did.
Under title 5. Create your Strapi server config for production
Update env/production/server.js to include app -> keys object
Include bash command to set APP_KEYS environment variable on Heroku
Why is it needed?
Solves the error:
Error: Middleware "strapi::session": App keys are required. Please set app.keys in config/server.js (ex: keys: ['myKeyA', 'myKeyB'])
Related issue(s)/PR(s)
The Issue is here #807
- Specify if the PR is in WIP (work in progress) state or ready to be merged
The fix is ready to be merged