浏览代码

Remove fix for plugin since upstream author fixed it

Girish Ramakrishnan 7 年之前
父节点
当前提交
d50d714ddb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      wp-config.php.template

+ 0 - 1
wp-config.php.template

@@ -57,7 +57,6 @@ define('WP_DEBUG_LOG', false);
 // 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';