diff --git a/lib/module.js b/lib/module.js index e578399..fe8e058 100644 --- a/lib/module.js +++ b/lib/module.js @@ -38,7 +38,7 @@ module.exports.meta = require('../package.json') function createHtaccess(options) { var htaccessConfig = '' - if (options.https && !options.redirect) { + if (options.https || !options.redirect) { htaccessConfig += 'RewriteEngine On\n' } if (options.https) {