Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
Las rutas api de Laravel 5.8 no funcionan detrás de AWS ELB

Soy nuevo en Laravel y AWS también. Tengo una nueva aplicación Laravel que está detrás de un ELB de AWS que escucha https en el lado del cliente y http en la instancia de EC2, pero cuando intento acceder a las rutas de API, se bloquea debido al contenido mixto.

He modificado mi proxy de confianza de Middleware como se ve a continuación

 class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array|string */ protected $proxies = '*'; /** * The headers that should be used to detect proxies. * * @var int */ protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB; }

Sin embargo, todo en la ruta web funciona pero no en las rutas api. Por favor sugerencias. Gracias

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!