Community discussions

MikroTik App
 
sphairos
just joined
Topic Author
Posts: 13
Joined: Sun Mar 05, 2017 9:10 pm

Nginx reverse proxy connection timeout

Tue Dec 15, 2020 11:46 am

Hi guys!
I get a hAPac2 and nginx reverse proxy in my network with port forwarding done on 80 and 443 on the nginx reverse proxy.

From outside of my network I can reach my webserver through the nginx reverse proxy.

What is not working is when I try to reach website from the same network of the reverse proxy and the webservers.
If I modify the hosts file to point directly the nginx reverse proxy, it's working.

Here is the configuration of my DNS :
                      servers: 202.22.235.3
              dynamic-servers: 8.8.8.8,1.1.1.1
        allow-remote-requests: yes
          max-udp-packet-size: 4096
         query-server-timeout: 2s
          query-total-timeout: 10s
       max-concurrent-queries: 100
  max-concurrent-tcp-sessions: 20
                   cache-size: 2048KiB
                cache-max-ttl: 1w
                   cache-used: 179KiB
Do you have a clue of what is not working in my conf?
How can I share all the config without giving secret informations (passwords etc)?
Thanks for your help
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Nginx reverse proxy connection timeout

Tue Dec 15, 2020 1:58 pm

Who is online

Users browsing this forum: cienki, CryptoCurrencyDyday, kinjakinja, mtkvvv, volneymota and 107 guests