i changed my env.php file i rip out redis and now i am available to execute the commands
php bin/magento setup:di:compile
php bin/magento cache:flush
but when i tried to enter to the website in the local host y get a answer error of 502
Edit: I solved the 502 adding to my nginx config file
.... your config ...
fastcgi_buffers 16 16k;
but i see a blank page now