Reverse proxy didn't try to request website if the first attempt fails
josefglatz opened this issue · comments
Problem
Consider the following scenario:
- You start vagrant-development
- Forget to start your docker
- Request a http://foo.vm/
- Start docker containers
- vagrant-development reverse proxy throws 503 even if you force-refresh quite a few times in browser.
- After force-refreshing (quite agressive 10-15 times) the reverse proxy tries to request the website from docker container
Is there any treshold time or request treshold which prevents the reverse proxy to request website from the docker container?
Docker containers need some seconds to be up (see docker-compose logs
). Reverse proxy should get a running connection to docker containers when they're up.
Please check if docker container were fully running - php-fpm need some times due to runtime provisioning.
ok thx, will check
Thx for your quick answer! That was it