magento2 – In production mode, the site does not load

I have problems with Magento 2.2.6
I deploy and when I go to the site, it does not load
Here's how I deploy:

php bin / magento deploy: mode: view
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 / *

cache php bin / magento: dump
cache php bin / magento: clean

Configuring 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 . -example type 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
Systemctl restart varnish
systemctl restart redis-server
systemctl restart mysql

Follows the magento settings:
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 as an attachment (error.png)

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

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

I would like your help if possible.

error.png
error.png

site.png
site.png