nginx and php fpm in dokcer image pointless response on Amazon ECS (load balancer)

0

I have a Laravel project running on the Amazon ECS(with aws load balancer) and It contains php fpm and nginx. It exposes Nginx 80 port. But sometimes It returns pointless responses like this

<span style='display:none'>
 d85371f57439c77c184143f74df8359a
</span>

I couldn’t find any problem with that on the Internet. I hope anyone can help me. Also, nginx and Amazon don’t write any error logs. I couldn’t find any error log about that

  • Hello. I'm also having the exact same problem. In my case it's Laravel 5.5. What happened to your problem after that?

1 Answer
0

Hi, to investigate more the issue I would recommend to execute the application locally on your machine to better understand who is sending this HTML snippet. Otherwise you could provide a public ip to your running task on ECS and connect to the task directly, by applying the proper security group and network configurations. My guess is that the code snippet is generated by your some error on application level

AWS
answered 10 months ago
  • Thanks you for answer. But I have tried all ways for that. I am sure enough there is no problem about my laravel application or docker. because it works on another e2c instance without any problem. I think this problem comes from ABL

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions