My website is currently using CloudFlare reverse proxy. In my nameservers I have defined DNS provided by CloudFlare. I am having some issue with CloudFlare so want to test it by removing reverse proxy. If I write my server IP in nameservers, will site sill work?
EDIT
I am getting Error 502 Bad Gateway
from CloudFlare when trying to add product in shopping cart. I am using WordPress with WooCommerce. This is happening for all products except the one which I added last time a couple of days ago. I am able to add this product in cart but no other product. Site is hosted on VPS and nothing has been changed on it.
I am using nginx with PHPFPM and error was related to memory/cache as this VPS has only 1GB of RAM.
First I looked into nginx logs:
sudo tail /var/log/nginx/error.log -n 10
And found error:
upstream sent too big header while reading response header from upstream
So I added following lines in
/etc/nginx/nginx.conf
which fixed the issue