mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 10:44:43 -06:00
add more visible warning regarding app_key backup
This commit is contained in:
parent
9f7b106d4f
commit
99313bf379
@ -99,8 +99,7 @@ continuing any further. If you are unsure how to do this, please have a look at
|
||||
:::
|
||||
|
||||
First we will copy over our default environment settings file, install core dependencies, and then generate a
|
||||
new application encryption key. **You should make a backup of the encryption key and store it in a secure
|
||||
location, _not on the server itself_.**
|
||||
new application encryption key.
|
||||
|
||||
``` bash
|
||||
cp .env.example .env
|
||||
@ -111,6 +110,11 @@ composer install --no-dev --optimize-autoloader
|
||||
php artisan key:generate --force
|
||||
```
|
||||
|
||||
::: danger
|
||||
Back up your encryption key (APP_KEY in the `.env` file). It is used as an encryption key for all sensible data (e.g. passwords).
|
||||
Store it somewhere safe - not just on your server. If you lose it, all encrypted data is useless and can't be restored, even if you have database backups.
|
||||
:::
|
||||
|
||||
### Environment Configuration
|
||||
Pterodactyl's core environment is easily configured using a few different CLI commands built into the app. This step
|
||||
will cover setting up things such as sessions, caching, database credentials, and email sending.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user