Welcome! Log In Create A New Profile

Advanced

Reverse proxy

All files from this thread

File Name File Size   Posted by Date  
nginx.conf 1.7 KB open | download Jagannath Bilgi via nginx 09/04/2018 Read message
docker-compose.yml 1 KB open | download Jagannath Bilgi via nginx 09/04/2018 Read message
Jagannath Bilgi via nginx
September 04, 2018 02:12PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - nginx.conf (1.7 KB)
open | download - docker-compose.yml (1 KB)
Subject Author Posted

Reverse proxy Attachments

Jagannath Bilgi via nginx September 04, 2018 02:12PM

Re: Reverse proxy

tokers September 04, 2018 10:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready