I have a dedicated server where I host my website, this server uses Apache but it also use Nginx as "reverse proxy server" (don't know what actually means, this is my first time I work on a dedicated server).
At first I've got this problem a PHP Script that runs for more than 60 seconds caused a "504 Gateway Time-out" and I fixed this with this block in nginx.conf
proxy_connect_timeout 9999;
proxy_send_timeout 9999;
proxy_read_timeout 9999;
send_timeout 9999;
But this lead me to discover another important problem:
If I run a PHP script that takes time and meanwhile I want to open another Page in the same browser, this page will continue to load until the first PHP Script ends.
How can I fix this? Maybe is just a matter of a configuration in Nginx, but as I told you, this is my first time with a Server.
Thanks in advice