Add HTTPS public key pinning

This commit is contained in:
Tankred Hase
2016-06-10 17:48:41 +02:00
parent 68fba28dd9
commit 4b183c8976
4 changed files with 21 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ module.exports = {
},
server: {
upgradeHTTP: true
},
upgradeHTTPS: process.env.UPGRADE_HTTPS || true // use HTTPS by default
}
};