Shuffle the salts!
This commit is contained in:
parent
712e68b2cf
commit
bac48588e4
12
README.md
12
README.md
@ -54,10 +54,17 @@ HTML_VOLUME=test_html_staging
|
||||
|
||||
## 📂 Configuration Files
|
||||
|
||||
Two important Nginx configuration files are available in the project directory. After editing, perform a restart:
|
||||
Three important configuration files are available in the project directory:
|
||||
```bash
|
||||
Nginx (after editing, perform a restart):
|
||||
|
||||
./default.conf # generate-compose-nginx.sh respects user added changes
|
||||
./nginx.conf # Manually customizable configuration
|
||||
|
||||
Wordress:
|
||||
|
||||
./wp-config.php # generated once by generate-compose-nginx.sh and respects user added changes
|
||||
|
||||
```
|
||||
|
||||
---
|
||||
@ -84,7 +91,8 @@ If you want a **fully automated** upgrade, use the `wp-rocket-launch.sh` script:
|
||||
✅ Automatically cleans up existing containers and volumes
|
||||
✅ Builds the custom WordPress image
|
||||
✅ Deploys the new version with minimal manual intervention
|
||||
✅ Copies new installation files to production
|
||||
✅ Copies new installation files to production
|
||||
✅ Wordpress salt keys are shuffled
|
||||
|
||||
Alternatively, follow the manual upgrade process below.
|
||||
|
||||
|
@ -43,3 +43,8 @@ fi
|
||||
echo "📂 Copying new WordPress content to wp-content..."
|
||||
docker compose exec wordpress_${COMPOSE_PROJECT_NAME} bash -c "cp -a /var/www/html/wp-content-new/* /var/www/html/wp-content/"
|
||||
echo "✅ WordPress content successfully copied!"
|
||||
|
||||
# Step 7: Shuffle salts
|
||||
echo "📂 Shuffle the salt keys...."
|
||||
docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp config shuffle-salts
|
||||
echo "✅ Wordpress salt keys sucessfully shuffled!"
|
Loading…
x
Reference in New Issue
Block a user