w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
nginx: configuration file /etc/nginx/nginx.conf test failed (host not found in upstream)

Your problem is coming from this line:

proxy_pass http://www.class.com.;

Most likely the server is having difficulty resolving that DNS name. You may also want to look at http://serverfault.com/questions/341810/nginx-failing-to-resolve-upstream-names-on-reload-even-if-they-do-resolve-by-the

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.