node.js - ExpressJS SSL on one domain only -
i'm using expressjs. app https server contains vhost.
app.use(express.vhost('api.example.com', require('./lib/subdomains/api').app)); because ssl certificate root domain only, api.example.com domain fails load routes it's been given.
how can use ssl on root domain , not on other? need able share app configuration between domains, not ssl certificate.
doh. hadn't changed node_env vhost setup incorrectly in live environment.
Comments
Post a Comment