From 9021433950128a7e5868e4e3911fdaa950050ba1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 2 Nov 2015 09:20:17 +0200 Subject: [PATCH] Remove default filter for wordpress_force_https, has a default value. --- templates/wp-config.php.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wp-config.php.j2 b/templates/wp-config.php.j2 index cc85ba4..835c930 100644 --- a/templates/wp-config.php.j2 +++ b/templates/wp-config.php.j2 @@ -57,7 +57,7 @@ define('NONCE_SALT', 'put your unique phrase here'); define('FS_METHOD', 'direct'); define('WP_HOME', '{{ wordpress_fqdn }}'); define('WP_SITEURL', '{{ wordpress_fqdn }}'); -{% if wordpress_force_https|default(False) %} +{% if wordpress_force_https %} $_SERVER['HTTPS']='on'; {% endif %} -- GitLab