We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the web service is started before the php service, You'll get an nginx error:
web
php
[emerg] 1:1: host not found in upstream "php" in /etc/nginx/conf.d/default.conf:12
Amending the config for web like so will correct this problem:
web: # ... other configs depends_on: - php
The text was updated successfully, but these errors were encountered:
Thanks a lot, this option helped me. Nginx cannot parse php file and send the php file to user browser with the following options.
depends_on: - php
Sorry, something went wrong.
No branches or pull requests
If the
web
service is started before thephp
service, You'll get an nginx error:Amending the config for
web
like so will correct this problem:The text was updated successfully, but these errors were encountered: