-
Notifications
You must be signed in to change notification settings - Fork 30
7. Security
alex_prokopenko edited this page Dec 1, 2017
·
4 revisions
// It's a draft!
By default installer will generate WordPress salts automatically. To replace them you can change .env variables:
AUTH_KEYSECURE_AUTH_KEYLOGGED_IN_KEYNONCE_KEYAUTH_SALTSECURE_AUTH_SALTLOGGED_IN_SALTNONCE_SALT
Salts can be generated with:
- Custom composer command:
composer wp:salts - WordPress generator: https://api.wordpress.org/secret-key/1.1/salt/
We recommend to set one more level of security - add additional HTTP password protection. You can do this with our composer script:
composer wp:secure -u "login" -p "password"
Next: mu-plugins autoloader