Skip to content
Advertisement

Apache ignore headers and status codes from Lumen

I have app based on Docker and microservices. Angular, MySQL, Lumen + Apache. Unfortunately on Docker my API doesn’t send any header or status code. Any response is 200. I tried change HTTP server to NGINX but for nothing. I have no idea how can i fix this issue.

Apache config

JavaScript
JavaScript

Dockerfile

JavaScript

docker-compose.yml

JavaScript

.htaccess

JavaScript

Advertisement

Answer

Okey I found answer for my problem. I need to add line

JavaScript

in my Dockerfile

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement