How to fix 400 Bad request error in Nginx


(Rushikesh Sonawane ) #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


(Spider-man of the forum) #2

How much time are you wasting?

Install EasyEngine.


(Rushikesh Sonawane ) #3

Actually I don’t know anything about EasyEngine.


(Spider-man of the forum) #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.


(Spider-man of the forum) #6

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


(Rushikesh Sonawane ) #7

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


(Rushikesh Sonawane ) #8

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


(Spider-man of the forum) #9

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


(Rushikesh Sonawane ) #10

@gulshankumar and @paritosh is there any problem in server configuration. As I share the image.


(Spider-man of the forum) #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.


(Rushikesh Sonawane ) #12

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


(Spider-man of the forum) #13

Install EasyEngine or spend your life solving errors.


(Rushikesh Sonawane ) #14

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


(Batman of the forum) #15

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

Wait for Gopal’s production ready guide instead.


(Spider-man of the forum) #16
wget -qO ee rt.cx/ee && sudo bash ee
sudo ee site create jankaribook.com --w3tc --php7

That’s it.


(DND) #17

and @Paritosh said he is using EasyEngine temporarily only


(Batman of the forum) #18

the big comfy couch liar GIF


(Batman of the forum) #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: