Answer the question
In order to leave comments, you need to log in
Why does nginx on Windows have a 1 second delay?
Situation:
There are two web servers on the same network.
One on Windows + nginx
The second on Ubuntu + nginx
Sites from the server on Windows ALWAYS open in 1.2 - 2 seconds.
From Linux - 0.2 - 1sec.
I tried directly from the Windows server itself (locally) to open the site - everything is the same. there is no less than a second. It does not depend on scripts or volume. Stupidly such sensation that somewhere in system there is a setting "timeout before connection - 1 sec".
I'm still sinning more on Windows, because if you raise NAT on Windows, the delay of sites from the Internet also increases by 1 second. DNS tried to change to Google, cloudflare and others - it does not help.
Please help me find the reason. Maybe I missed something. (But on Windows there is an SSD and the site opens more slowly than the old ubunta with a hard drive). So the problem is not I\O.
I also tried to open the router's admin panel from the Internet (forwarding the port behind NAT), everything opens instantly. that is, the boundary router is also excluded. It is on Windows that such a hat.
Maybe someone had this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question