Socket
Book a DemoInstallSign in
Socket

301

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

301

A super simple HTTP redirect server

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

301

A super simple HTTP redirection server

Install

npm install -g 301

Usage

user@host:$ 301 --port 8080 --domain myshiz.biz

Optional Arguments

  • port - port service will listen on (default 8080)
  • domain - domain requests will redirect to (default 127.0.0.1)
  • proto - protocol HTTP or HTTPS (default HTTP)
  • health - optional port on which to listen for a health check (default is disabled). Handy for load balancers that will only accept a "200" response to keep 301 instance(s) in load.

FAQs

Package last updated on 03 Sep 2015

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.