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']; 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');