* Fix query and remove unnecessary s3 settings Remove s3 accelerate and style_endpoint as they're already set to false by default. Fix Recaptcha required env setting and MySQL query typo together with shrinking it into a one-liner * Remove .env section * Removes the last mention of .env * this is the last one I promise
1.8 KiB
Additional Configuration
Backups
Pterodactyl Panel allows users to create backups of their servers. In order to create backups, backup storage has to be configured.
Using S3 Backups
AWS S3 (or compatible storage) can be used to store backups. The following configuration options have to be set in the .env file in order to enable it.
# Sets your panel to use s3 for backups
APP_BACKUP_DRIVER=s3
# Info to actually use s3
AWS_DEFAULT_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BACKUPS_BUCKET=
AWS_ENDPOINT=
reCAPTCHA
The Panel uses invisible reCAPTCHA to secure the login page from brute-force attacks. If the login attempt is considered suspicious, users may be required to perform a reCAPTCHA challenge.
Configuring reCAPTCHA
While we provide a global Site Key and Secret Key by default, we highly recommend changing it for your own setup.
You can generate your own keys in the reCAPTCHA Admin Console.
The keys can then be applied using the Settings in the admin panel. The reCAPTCHA settings can be found on the Advanced
Disabling reCAPTCHA
:::warning SECURITY WARNING We do not recommend disabling reCAPTCHA. It is a security mechanism that makes it harder to perform brute-force attacks on user accounts. :::
If users have trouble logging in, or your Panel isn't exposed to the internet, in can make sense to disable reCAPTCHA.
reCAPTCHA can easily be disabled using the admin panel. In the Settings, select the Advanced tab and set the Status of reCAPTCHA to disabled.
Editing your database
If you cannot access your panel, you can modify the database directly using the following commands.
mysql -u root -p
UPDATE panel.settings SET value = 'false' WHERE `key` = 'settings::recaptcha:enabled';