Created
October 24, 2017 20:39
-
-
Save alvarow/f61a08bf4c80074ed2ab8e891f4b1e70 to your computer and use it in GitHub Desktop.
Wordpress sample config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
* | |
* This file is used by the wp-config.php creation script during the | |
* installation. You don't have to use the web site, you can just copy this file | |
* to "wp-config.php" and fill in the values. | |
* | |
* @package WordPress | |
*/ | |
//define('WP_HOME', '/opt/apache/htdocs'); | |
//define('WP_SITEURL', 'https://blog.example.com'); | |
//define('FORCE_SSL_ADMIN', true); | |
//define('FORCE_SSL_LOGIN', true); | |
//if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') | |
// $_SERVER['HTTPS']='on'; | |
define('DB_NAME', 'wordpress'); | |
/** MySQL database username */ | |
define('DB_USER', 'wordpress'); | |
/** MySQL database password */ | |
define('DB_PASSWORD', 'apwd'); | |
/** MySQL hostname */ | |
define('DB_HOST', 'localhost:/var/lib/mysql/mysql.sock'); | |
/** 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', ''); | |
define( 'DB_COLLATE', 'utf8_general_ci' ); | |
// Use mysqli | |
define('WP_USE_EXT_MYSQL', true); | |
/**#@+ | |
* 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', 'M;n:+,6,N_q+j I+y1yuwQhk>|F:@,0SK)+Q(y`=<-HJU%V+9>Kc.2+I!cLa^u:f'); | |
define('SECURE_AUTH_KEY', '6n]|XnkzXKB^J6g/l&jCgq?ITlfQUy1*SkhVoasJ+HYesoN(Iykv:-U&kQZa*(~V'); | |
define('LOGGED_IN_KEY', 'Mww,Yr$*aEht=~Ng]1mC/UV61F^<[++F-|. IC?t,buPnSSU]YnsGz/%)ouONX<B'); | |
define('NONCE_KEY', '86|+Q:ld)sVQ_>I_AN11.<L-7s|nYlju]h>rc#_fBbVz:ib)j0$rj9/<=~(11XcI'); | |
define('AUTH_SALT', 'Lh8]D2CIyQU5_|*3Jx2I}+12bV#Ezi+|0#cJR(mWE8b$pyY*i{3Fi_+WfY4 qg/J'); | |
define('SECURE_AUTH_SALT', ';3TAl[_vOYh114qs19W5R5GF<MtWbeZ<fbvZASFs?e``PTM-Qq3+tjkB;~D9:fi$'); | |
define('LOGGED_IN_SALT', 'klL-&&->b/KQGQ|~}eq*x&YM(w:^A7g;tcv3}3KDD`Afldd-Vgj|RZ$xY}J>q<BQ'); | |
define('NONCE_SALT', '`2z>~ u#+m!^7kx5r4fQg|;uL(_.DM.dj9z{;I[-b/`JL&&ZL+v+16kk(g,zkIzg'); | |
/**#@-*/ | |
/** | |
* 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! | |
*/ | |
$table_prefix = 'wp_'; | |
/** | |
* WordPress Localized Language, defaults to English. | |
* | |
* Change this to localize WordPress. A corresponding MO file for the chosen | |
* language must be installed to wp-content/languages. For example, install | |
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German | |
* language support. | |
*/ | |
define('WPLANG', ''); | |
/** | |
* 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. | |
*/ | |
define('WP_DEBUG', false); | |
/* That's all, stop editing! Happy blogging. */ | |
/** Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
/** Sets up WordPress vars and included files. */ | |
require_once(ABSPATH . 'wp-settings.php'); | |
define('WP_PROXY_HOST', 'usproxy.example.com'); | |
define('WP_PROXY_PORT', '8080'); | |
define('WP_PROXY_USERNAME', 'AD\svc_user'); | |
define('WP_PROXY_PASSWORD', 'apwd'); | |
define('WP_PROXY_BYPASS_HOSTS','localhost,127.0.0.1,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12,.internal' ); | |
//add_filter( 'auto_update_plugin', '__return_true' ); | |
//add_filter( 'auto_update_theme', '__return_true' ); | |
//define( 'WP_AUTO_UPDATE_CORE', false ); | |
//define( 'AUTOMATIC_UPDATER_DISABLED', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment