Shuffle the salts!
This commit is contained in:
parent
712e68b2cf
commit
bac48588e4
10
README.md
10
README.md
@ -54,10 +54,17 @@ HTML_VOLUME=test_html_staging
|
|||||||
|
|
||||||
## 📂 Configuration Files
|
## 📂 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
|
```bash
|
||||||
|
Nginx (after editing, perform a restart):
|
||||||
|
|
||||||
./default.conf # generate-compose-nginx.sh respects user added changes
|
./default.conf # generate-compose-nginx.sh respects user added changes
|
||||||
./nginx.conf # Manually customizable configuration
|
./nginx.conf # Manually customizable configuration
|
||||||
|
|
||||||
|
Wordress:
|
||||||
|
|
||||||
|
./wp-config.php # generated once by generate-compose-nginx.sh and respects user added changes
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -85,6 +92,7 @@ If you want a **fully automated** upgrade, use the `wp-rocket-launch.sh` script:
|
|||||||
✅ Builds the custom WordPress image
|
✅ Builds the custom WordPress image
|
||||||
✅ Deploys the new version with minimal manual intervention
|
✅ 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.
|
Alternatively, follow the manual upgrade process below.
|
||||||
|
|
||||||
|
@ -43,3 +43,8 @@ fi
|
|||||||
echo "📂 Copying new WordPress content to wp-content..."
|
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/"
|
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!"
|
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