diff --git a/templates/wp-config.php.j2 b/templates/wp-config.php.j2
index cc85ba4f91c94151f2fc7accc005ca3439292d89..835c930b22251dc79472bf05fb20dac329dbe8a0 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 %}