How to fix 400 Bad request error in Nginx


#1

Brothers,
Recently I have installed wordpress on LEMP with ubantu 18.04, After that I install installed goddady certificate. But My site is note open. It shows 404 bad error. you can see below.

I think I might have done some mistakes in server configuration. would you please check there is any mistake.


From my side I have check it with sudo nginx -t this command. In reasult there is no any error. So why am I getting this error?
2


#2

How much time are you wasting?

Install EasyEngine.


#3

Actually I don’t know anything about EasyEngine.


#4

@GulshanKumar lets encrypt ssl is more than enough for a simple blog, right?


#5

Yes, it’s great. Many famous sites are using Let’s Encrypt.


#6

Hello @Rushikesh ask for a refund from GoDaddy, reinstall your server, use EasyEngine.


#7

It’s more than 2 months to I bought it.


#8

And what’s the problem with godaddy? if I have paid certificate why should not I use?


#9

Okay, reinstall your server, you can use godaddy using easyengine https://easyengine.io/wordpress-nginx/tutorials/ssl/godaddy/


#10

@GulshanKumar and @Paritosh is there any problem in server configuration. As I share the image.


#11

There are a lot, you copied some commands from here and some commands from there.

Everything is mixed up, broken, and it will not give any good performance.


#12

No I only followed this tutorial >> https://www.supportmeindia.com/install-godaddy-ssl-certificate-on-nginx-ubuntu/


#13

Install EasyEngine or spend your life solving errors.


#14

Now let me search and learn about EasyEngine and then I will install.


#15

@gopal says EasyEngine is garbage and @anon54276374 pity on people who use it.

Wait for Gopal’s production ready guide instead.


#16
wget -qO ee rt.cx/ee && sudo bash ee
sudo ee site create jankaribook.com --w3tc --php7

That’s it.


#17

and @Paritosh said he is using EasyEngine temporarily only


#18

the big comfy couch liar GIF


#19

How about switching to Cloudways with DO/Vultr if you’re unable to deal with these errors? If you’re a blogger, I’d recommend you to get a host like Cloudways and focus more on content.


#20

Welcome to Chit Chat :grinning: