From 5ef030f68d0f0ee2515db921112698ae9d0b7c40 Mon Sep 17 00:00:00 2001 From: Administrador de Red Date: Thu, 18 Oct 2018 14:38:14 -0300 Subject: [PATCH] fix route secure false, behind reverse proxy --- src/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.php b/src/routes.php index b71a2fa..fb03aae 100644 --- a/src/routes.php +++ b/src/routes.php @@ -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" ]