-
-
12 May 2012 22:24:54 UTC
- Distribution: Dancer-Plugin-RequireSSL
- Module version: 0.121331
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (136 / 10 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (9.64KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- METHODS
- CONFIGURATION
- CONTRIBUTING
- ACKNOWLEDGEMENTS
- BUGS
- SUPPORT
- SEE ALSO
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
Dancer::Plugin::RequireSSL - Configure your application to redirect all incoming requests to HTTPS
VERSION
version 0.121331
SYNOPSIS
use Dancer ':syntax'; use Dancer::Plugin::RequireSSL; require_ssl(); get '/' => sub { template index; }
METHODS
require_ssl
require_ssl();
Redirect all incoming requests to https.
input: none output: none
CONFIGURATION
plugins: RequireSSL: hsts_age: 31536000 hsts_include_subdomains: 0
CONTRIBUTING
This module is developed on Github at:
http://github.com/hobbestigrou/Dancer-Plugin-RequireSSL
ACKNOWLEDGEMENTS
Inspired by flask-sslify developed by Kenneth Reitz
BUGS
Please report any bugs or feature requests in github.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Dancer::Plugin::RequireSSL
SEE ALSO
AUTHOR
Natal Ngétal
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Natal Ngétal.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dancer::Plugin::RequireSSL, copy and paste the appropriate command in to your terminal.
cpanm Dancer::Plugin::RequireSSL
perl -MCPAN -e shell install Dancer::Plugin::RequireSSL
For more information on module installation, please visit the detailed CPAN module installation guide.