File: /opt/bitnami/wordpress/wp-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the website, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'bitnami_wordpress' );
/** Database username */
define( 'DB_USER', 'bn_wordpress' );
/** Database password */
define( 'DB_PASSWORD', 'admin' );
/** Database hostname */
define( 'DB_HOST', 'wordpress-mariadb:3306' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'aA`crkmgchDVqU<cr^h8&4v_8lV6W(-ed!$t54K0+r:u5dG9-QwvK`-WQ/1v$ydQ' );
define( 'SECURE_AUTH_KEY', 'H>ratYU([[H6G)EP|pGXx4~uL>=3/Mw^4J:xeqr0$g8hs:A;2( ka/;C(ws`*9ZO' );
define( 'LOGGED_IN_KEY', 'b{4U]+~53XUbC%l_pN^J6Z;9?0ZRu%i^GS*834Ib[r**(OYE{:l-(RqUU<`oPDT5' );
define( 'NONCE_KEY', 'c-{a]64!C(D@kU3IVR7CyF9Q8x>1OyXaz/1F>YDV4 O?k: JsO<~=N1Q&Sc<OZ(w' );
define( 'AUTH_SALT', 'SG4q8Ems0#l2KOaG,A5<I.jTyZV!Pe}A=K,Nb0ga?8O#Ut2Zre`+<eHll1TMt!DW' );
define( 'SECURE_AUTH_SALT', '3CKU%&UqUZy&j$DW39y*3pB#WotMx{#5p_FkGz@)A|/q7VIgECx^O(bG#6BDR8lM' );
define( 'LOGGED_IN_SALT', 'iX(GMxMk=Y~+&`D0p9R~Z}?]tJ<%kM~-s!huH;-G5>c(bqaOTn6uKJ.a3:~+JQwt' );
define( 'NONCE_SALT', '-EC0flDG8Fg{dOtTG /US}==KKyF[LatgaERyK(Nfd@T3:Z7~h?^BW<$|@.f2XoP' );
/**#@-*/
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*
* At the installation time, database tables are created with the specified prefix.
* Changing this value after WordPress is installed will make your site think
* it has not been installed.
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
/* Add any custom values between this line and the "stop editing" line. */
define( 'FS_METHOD', 'direct' );
/**
* The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.
* If you want to access only from an specific domain, you can modify them. For example:
* define('WP_HOME','http://example.com');
* define('WP_SITEURL','http://example.com');
*
*/
if ( defined( 'WP_CLI' ) ) {
$_SERVER['HTTP_HOST'] = '127.0.0.1';
}
define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/' );
define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/' );
define( 'WP_AUTO_UPDATE_CORE', false );
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
define('ADMIN_COOKIE_PATH', '/');
define('COOKIEHASH', md5('wordpress.cluster.dphx.eu'));
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
/**
* Disable pingback.ping xmlrpc method to prevent WordPress from participating in DDoS attacks
* More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/
*/
if ( !defined( 'WP_CLI' ) ) {
// remove x-pingback HTTP header
add_filter("wp_headers", function($headers) {
unset($headers["X-Pingback"]);
return $headers;
});
// disable pingbacks
add_filter( "xmlrpc_methods", function( $methods ) {
unset( $methods["pingback.ping"] );
return $methods;
});
}