added complete url variable in .env

This commit is contained in:
asus
2024-02-01 01:52:16 +01:00
parent cab7757043
commit 11270c5e69
4 changed files with 12 additions and 13 deletions

View File

@@ -17,6 +17,11 @@ DB_PSWD="you dont want to know"
WP_URL=local_lejourduprof.com
WP_PORT=3003
# concat url with port if not 443
WP_COMPLETE_URL="${WP_URL}"
if [ ! ${WP_PORT} -eq 443 ]; then
WP_COMPLETE_URL="${WP_URL}:${WP_PORT}"
fi
WP_VOLUME_DIR=/var/www/html
#WP_VOLUME_PLUGINS=/home/www-data
WP_TITLE=title