How to fix 400 Bad request error in Nginx


(Spider-man of the forum) #43

baccha samja hai kya?


(Batman of the forum) #44

No,

Proper caching = a good implementation of Cloudflare.

What was the TTFB? Maybe you’re expecting too much from cheapest plan.

I got good results from Cloudways + AWS + Sucuri and Gulshan’s optimization


(Spider-man of the forum) #45

ha bhai, 2.5ms TTFB on free AWS


(Batman of the forum) #46

Pingdom test dear?


(Spider-man of the forum) #47

pingdom or ye https://www.dotcom-tools.com/website-speed-test.aspx


(Rushikesh Sonawane ) #48

@Paritosh @gulshankumar @BihariLala Yahoooooooooooooooooooooooooooooo! I fix the issue.

In server configuration file we need have to set this

listen 443 ssl default_server;
listen [::]:443 ssl default_server;

By defualt there is comment like this

#listen 443 ssl default_server;
** #listen [::]:443 ssl default_server;**

and I just removed it and my site is live…


(Batman of the forum) #49

For me on Pingdom/via NYC location - it was always below 100ms. But it wasn’t a free plan dear. A expensive plan has better specs as you know plus I was using Sucuri caching system which is pretty fast from the US location.


(Batman of the forum) #50

Gulshan recently did a benchmark.

Cloudways does nothing special. They have a good looking simple easy to use interface and it’s raw DO/Vultr/AWS/GCE with a Breeze caching plugin.


#51

Yes, it’s amazing fast.


(Spider-man of the forum) #52

image

wow yaar


#53

Web stack also.

HTTP/2, Memcached, Apache+NGINX, PHP 7.2, Varnish


#54

Great to hear you didn’t used the scammed name easy engine.

I pity the noobs who uses such services and risk their work.


(Spider-man of the forum) #55

image

scam cloudways


#57


(Batman of the forum) #58

Upgrade server and use BunnyCDN (cheapest).


#59

We are in public Topic. :grinning:

Cc @anon54276374


#60
  • What was server location of testing and your Droplet?
  • Was Varnish enabled?
  • Can you show me test report?
  • Was response uncached? Was it showing something like cache status: MISS? Instead HIT??

TLDR : It depends.


(Spider-man of the forum) #61

both New York


(Rushikesh Sonawane ) #62

:rofl::rofl::rofl::rofl::rofl::cry::crying_cat_face::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob: Only homepage is working other pages show 500 internal server error.

Plz check jankaribook.com


#63

Update - home page isn’t working either