ForcedHttpsBackendRedirector implements MiddlewareInterface
Check lockSSL configuration variable and redirect to https version of the backend if needed
Depends on the NormalizedParams middleware to identify the Site URL and if the page is not running via HTTPS yet.
Table of Contents
Interfaces
- MiddlewareInterface
Properties
Methods
- __construct() : mixed
- process() : ResponseInterface
Properties
$backendEntryPointResolver read-only
protected
BackendEntryPointResolver
$backendEntryPointResolver
Methods
__construct()
public
__construct(BackendEntryPointResolver $backendEntryPointResolver) : mixed
Parameters
- $backendEntryPointResolver : BackendEntryPointResolver
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface