| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 | 
							- <?php
 
- // ** MySQL settings ** //
 
- /** The name of the database for WordPress */
 
- define('DB_NAME', '##MYSQL_DATABASE');
 
- /** MySQL database username */
 
- define('DB_USER', '##MYSQL_USERNAME');
 
- /** MySQL database password */
 
- define('DB_PASSWORD', '##MYSQL_PASSWORD');
 
- /** MySQL hostname */
 
- define('DB_HOST', '##MYSQL_HOST');
 
- /** 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('AUTH_KEY',         '##AUTH_KEY');
 
- define('SECURE_AUTH_KEY',  '##SECURE_AUTH_KEY');
 
- define('LOGGED_IN_KEY',    '##LOGGED_IN_KEY');
 
- define('NONCE_KEY',        '##NONCE_KEY');
 
- define('AUTH_SALT',        '##AUTH_SALT');
 
- define('SECURE_AUTH_SALT', '##SECURE_AUTH_SALT');
 
- define('LOGGED_IN_SALT',   '##LOGGED_IN_SALT');
 
- define('NONCE_SALT',       '##NONCE_SALT');
 
- $table_prefix = '##TABLE_PREFIX';
 
- // prevent user from changing the Settings->General, WordPress and Blog address values.
 
- define('WP_HOME', '##APP_ORIGIN');
 
- define('WP_SITEURL', '##APP_ORIGIN');
 
- define('WP_CONTENT_URL', '##APP_ORIGIN/wp-content');
 
- define('WP_PLUGIN_URL', '##APP_ORIGIN/wp-content/plugins');
 
- define('WP_CONTENT_DIR', '/app/data/wp-content');
 
- define('WP_PLUGIN_DIR', '/app/data/wp-content/plugins');
 
- // disable built-in page load based cron (https://developer.wordpress.org/plugins/cron/)
 
- define('DISABLE_WP_CRON', true);
 
- // Enable WP_DEBUG mode
 
- define('WP_DEBUG', false);
 
- // Enable Debug logging to the /wp-content/debug.log file
 
- define('WP_DEBUG_LOG', false);
 
- /*
 
-  http://cmanios.wordpress.com/2014/04/12/nginx-https-reverse-proxy-to-wordpress-with-apache-http-and-different-port/
 
-  http://wordpress.org/support/topic/compatibility-with-wordpress-behind-a-reverse-proxy
 
-  https://wordpress.org/support/topic/wp_home-and-wp_siteurl
 
-  */
 
- // If WordPress is behind reverse proxy which proxies https to http
 
- if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
 
-     $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
 
-     $_SERVER['SERVER_PORT'] = '443'; // pretend apache is running on port 443. plugins like rsvp use this
 
-     if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
 
-         $_SERVER['HTTPS']='on';
 
- }
 
- /* 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');
 
 
  |