How to fix 400 Bad request error in Nginx

(Spider-man of the forum) #64

nothing like this yaar, even I chatted him with three times regarding this and they said “fixed” but it was never fixed.

(Batman of the forum) #65

I was going to say “zaida kush maat hu kahi rona na pare bad mei” and here we go.


It seems any issues in server block configuration.

Make sure PHP version is correct.

(Rushikesh Sonawane ) #67

Ya its 7.2


Which guide you followed to install the webserver?

(Batman of the forum) #69

They are good for nothing. Don’t expect anything special. They can fix your htaccess, SSL error and cache at max. Do not expect technical response from their live chat. However, the senior engineers are familiar with what they do.


Can you paste here server block code?

(Rushikesh Sonawane ) #71

here it is >>>>

(Rushikesh Sonawane ) #72

ok wait

(Rushikesh Sonawane ) #73

plz provide me command.


sudo nano /etc/nginx/sites-available/default


Show the output of this

(Rushikesh Sonawane ) #76

would it be ok if If send the screenshot of whole output. Becuase it dose not copy.


Yes show that

(Rushikesh Sonawane ) #78

It’s too long how can I share. and even it is cot coping.


(Rushikesh Sonawane ) #80

@anon54276374 t and @gulshankumar


I had provided steps long back but you didn’t followed.

(Rushikesh Sonawane ) #82

Sorry but I was unable to understand it.


See dude I don’t get it how are you screwing up things even when you just need to copy paste things and apply a little brain.

Go reinstall the server and follow Gulshan’s guide, I never trust any Hindi site with geeky stuffs.