|
@@ -80,18 +80,6 @@ define('WPLANG', '');
|
|
*/
|
|
*/
|
|
define('WP_DEBUG', false);
|
|
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_HOME', '');
|
|
|
|
-define('WP_SITEURL', '');
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
http://cmanios.wordpress.com/2014/04/12/nginx-https-reverse-proxy-to-wordpress-with-apache-http-and-different-port/
|
|
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
|
|
http://wordpress.org/support/topic/compatibility-with-wordpress-behind-a-reverse-proxy
|
|
@@ -104,3 +92,13 @@ if (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
|
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
|
|
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
|
|
$_SERVER['HTTPS']='on';
|
|
$_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');
|
|
|
|
+
|