jsclayton / hapi-require-https

hapi http -> https redirection for servers behind a reverse proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hapi-require-https Build Status

http to https redirection for Hapi servers behind a reverse proxy. Any incoming request with 'http' in X-Forwarded-Proto will be redirected (301) to the same host and path with 'https' as the protocol.

About

hapi http -> https redirection for servers behind a reverse proxy

License:MIT License


Languages

Language:JavaScript 100.0%