1.0.4 • Published 11 years ago

force-secure v1.0.4

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

force-secure

Redirect users on plain HTTP connections to HTTPS. For Express apps.

API

app.use(require('force-secure'))

Proxies

If you're behind a reverse proxy or load balancer (such as on the awesome (Nodejitsu)http://nodejitsu.com PaaS), you'll have to tell Express to trust the proxy's X-Forwarded-Proto header. app.enable('trust proxy')

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago