Hi All,
New to nginx and reverse proxies. Trying to setup reserves proxy using nginx 
and docker. Have defined upstream in nginx config and created dependency in 
docker-compose as well. However getting time out error. 
Attached docker-compose and nginx.conf file for reference. Below is the error 
message. 
Note: However able to get the pages using below links http://178.128.159.51:81, 
http://178.128.159.51:82, http://178.128.159.51:83, 
http://178.128.159.51:100/login 2018/09/02 13:29:20 [error] 10#10: *1 upstream 
timed out (110: Connection timed out) while connecting to upstream, client: 
103.252.27.57, server: , request: "GET / HTTP/1.1", upstream: 
"http://178.128.159.51:81/";, host: "178.128.159.51"2018/09/02 13:30:21 [error] 
10#10: *1 upstream timed out (110: Connection timed out) while connecting to 
upstream, client: 103.252.27.57, server: , request: "GET /favicon.ico 
HTTP/1.1", upstream: "http://178.128.159.51:81/favicon.ico";, host: 
"178.128.159.51", referrer: "http://178.128.159.51/";
2018/09/02 13:30:50 [error] 12#12: *6 upstream timed out (110: Connection timed 
out) while connecting to upstream, client: 103.252.27.57, server: , request: 
"GET /topic HTTP/1.1", upstream: "http://178.128.159.51:82/";, host: 
"178.128.159.51"
2018/09/02 13:32:07 [error] 7#7: *9 upstream timed out (110: Connection timed 
out) while connecting to upstream, client: 103.252.27.57, server: , request: 
"GET /wb HTTP/1.1", upstream: "http://178.128.159.51:100/login";, host: 
"178.128.159.51"
2018/09/02 13:35:21 [error] 8#8: *14 upstream timed out (110: Connection timed 
out) while connecting to upstream, client: 103.252.27.57, server: , request: 
"GET /admin HTTP/1.1", upstream: "http://178.128.159.51:83/";, host: 
"178.128.159.51"

Please advise what i am missing.
Thanks and regards

Jagannath S Bilgi

Attachment: nginx.conf
Description: Binary data

Attachment: docker-compose.yml
Description: Binary data

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to