Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ssl-redirect

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssl-redirect

redirect users to the SSL version of your app

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-27.27%
Maintainers
2
Weekly downloads
 
Created
Source

SSL Redirect

NPM version Build status Test coverage Dependency Status License Downloads

Tiny server that redirects HTTP requests to SSL. These is currently really rough and you probably shouldn't use it.

API

var server = require('ssl-redirect')(options)

An http.Server is returned and automatically starts.

Options are:

  • port - the port to listen to. Should be different than your actual SSL app.
  • host: localhost - host to redirect to
  • maxAge: 16070400 - max age for Strict-Transport-Security
  • includeSubDomains: true - for Strict-Transport-Security

Keywords

FAQs

Package last updated on 09 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc