⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Nette extension for simply redirecting user to the same url with different schema

License

Notifications You must be signed in to change notification settings

ublaboo/https-redirect-nette-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version License Total Downloads Gitter

HttpsRedirectNetteExtension

1, Install via composer

composer require ublaboo/https-redirect-nette-extension

2, Register extension in config.neon:

extensions:
	httpsRedirect: Ublaboo\HttpsRedirectNetteExtension\DI\HttpsRedirectNetteExtension

3, Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - Module:Module:Presenter:

httpsRedirect:
	redirectTo: https # Set ot "http" for redirecting from https to http
	redirectCode: 301 # Change it to any other code you want,
	enable: true # or false :P

About

Nette extension for simply redirecting user to the same url with different schema

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages