When I first start my server, nginx reports 502 Bad Gateway until I
sudo nginx -s reload. Is there any way to fix this. CentOS 7 Minimal (64 Bit) with SeaFile Pro 6.0.4.
Edit: I moved the VM from my slower hard drive to a ssd and somehow that fixed it. I don’t know why but it just started working properly and I doubt the move had any effect on it. All I know is I no longer have to
sudo nginx -s reload when I start the server anymore.