I performed the installation of magento2.2.6 with varnish and redis
I am in trouble when I try to access the site through the domain (emporiobit.com.br) Error 503 error occurs Backend fetch failed
When you access the site by https://www.emporiobit.com.br or https://emporiobit.com.br everything works correctly without error.
Follow the doors:
Varnish - 80
Nginx - 81
Ngnix - 443
Before I simply typed the domain and opened the site in https, now it's not happening anymore.
Follow [configuration of my nginx][1]
Hi @guilhermetb
I understand the problem you are facing !
To troubleshoot the issue - Magento devdocs have article for the same - here i am sharing the link of that article , kindly follow the steps it will helps you to resolved the issue - https://devdocs.magento.com/guides/v2.2/config-guide/varnish/tshoot-varnish-503.html
Hope it helps !~
My /etc/default/varnish:
DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-p thread_pools=4 \
-p thread_pool_max=1500 \
-p connect_timeout=300 \
-p http_resp_hdr_len=65536 \
-p http_resp_size=98304 \
-S /etc/varnish/secret \
-s malloc,2G" \