magento2 – In production mode, the site does not load

I'm having problems with Magento 2.2.6
I implement and when I go to the site it does not load.
This is how I implement:

php bin / magenta deploy: mode: show
Current application mode: production. (Note: environment variables can override this value).

rm -rf / var / www / html / magento2 / var / view_preprocessed / *
rm -rf / var / www / html / magento2 / var / page_cache / *
rm -rf / var / www / html / magento2 / pub / static / *

php bin / magento cache: flush
php bin / magento cache: clean

Configuration of php bin / magento: static-content: deploy -f pt_BR en_US

cd / var / www / html / magento2
chown www-data: www-data -R *
find . -type f -exec chmod 644 {} ;
find . -type d-exec chmod 755 {} ;
find ./var type d-exec chmod 777 {} ;
find ./pub/media -type d -exec chmod 777 {} ;
find ./pub/static -type d -exec chmod 777 {} ;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
chmod 777 ./generated

systemctl restart apache2
reboot of systemctl varnish
systemctl restart redis server
systemctl restart mysql

Follow the configuration of magento:
catalog / frontend / flat_catalog_category – 1
catalog / frontend / flat_catalog_product – 1
dev / template / minify_html – 1
dev / js / merge_files – 1
dev / js / enable_js_bundling – 1
dev / js / minify_files – 1
dev / css / merge_css_files – 1
dev / css / minify_files – 1
dev / grid / async_indexing – 1
dev / static / sign – 0

Access the site and error 500 in the attached file (error.png)

I modify the file /var/www/html/magento2/.htaccess and add
Developer SetEnv MAGE_MODE
The site works correctly again without any errors (site.png).
When I comment this line back does not work

I can not find where the error is.
I want to leave the site in production mode but ERROR 500 occurs

I would like your help if possible.

error.png
error.png

site.png
site.png