fix route secure false, behind reverse proxy

This commit is contained in:
Administrador de Red 2018-10-18 14:38:14 -03:00
parent 17c1a8d821
commit 5ef030f68d

View File

@ -7,7 +7,7 @@ use Slim\Http\Response;
$app->add(new Tuupola\Middleware\HttpBasicAuthentication([
"path" => ["/inscriptos", "inscriptoscsv"], /* or ["/admin", "/api"] */
"realm" => "Protected",
"secure" => true,
"secure" => false,
"users" => [
"admin" => "puntofijo"
]