Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Re: Upstream on Windows 60 second delay

$
0
0
Itpp2012

The nginx conf is the standard one:

<code>
location /api {
proxy_pass http://localhost:3000;
proxy_set_header X-Real-IP $remote_addr;
}
</code>

looks like to reproduce this you might have to change something in the TCP/IP configuration of the machine. I cannot find where is it configured on the localhost loopback on windows, but I can assure that making a ping localhost looks like this:

$ ping localhost

Pinging WIN-XXXXX2882NAME [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>