Registry / web-framework / gobuffalo-mw-forcessl

gobuffalo-mw-forcessl

JSON →
library1.0.2gogounverified

Middleware for Buffalo that forces HTTPS by redirecting HTTP requests.

go get github.com/gobuffalo/mw-forcessl
INSTALL
IMPORT
SIG · GOBUFFALO-MW-FORCE
G
gobuffalo-mw-forcessl
web-frameworkgov1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

forcessl
github.com/gobuffalo/mw-forcessl

Add ForceSSL middleware to a Buffalo app

package main import ( "github.com/gobuffalo/buffalo" "github.com/gobuffalo/mw-forcessl" ) func main() { app := buffalo.New(buffalo.Options{}) app.Use(forcessl.Middleware()) app.Serve() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gobuffalo-mw-forcessl — go get gobuffalo-mw-forcessl · libregistry