Open yumengbai opened 4 years ago
Log in to into your server console using SSH and execute the following command. Remember to replace APPNAME with the actual name or directory location of your application.
sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1
Restart the Web server.
If you’re using Apache, execute the command below:
sudo /opt/bitnami/ctlscript.sh restart apache If you’re using NGINX, execute the command below:
sudo /opt/bitnami/ctlscript.sh restart nginx
to reenable bnconfig:
sudo mv /opt/bitnami/apps/wordpress/bnconfig.disabled /opt/bitnami/apps/wordpress/bnconfig
don't forget to disable again before any server restart
sudo mv /opt/bitnami/apps/wordpress/bnconfig /opt/bitnami/apps/wordpress/bnconfig.disabled