Enable SSL in Laravel behind Load Balance or Proxy AWS

You can do this by adding middle ware as follows

$request->setTrustedProxies( [ $request->getClientIp() ] );

if (!$request->secure())

return redirect()->secure($request->getRequestUri());
return $next($request);

ofcourse , you should enable the middle ware in app/Http/Kernel.php.


Assign user to build only the particular project in Jenkin

To make the job accessible for specif user, Project-based Matrix Authorization Strategy should enabled under Jenkins > Configure System > Authorization section.

Then go to specif job config page and Enable project-based security and add the user you want.

way to go…