jeudi 3 août 2017

Nginx Laravel Php double request per request

I'm having a problem with my Laravel 5.1 site that is deployed on a NGINX server with PHP 7 on Ubuntu. When I make request for any route the request are being duplicated ,I noticed it when I tried out a function that I had to prevent duplicate request , by generating a new token like CSRF token but for each request.

When I try to Log::info("test") on a function in any controller I get the following:

[2017-08-03 19:46:39] local.INFO: test  
[2017-08-03 19:46:39] local.INFO: test  

I don't have this issue on my local WAMP apache server though.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire