0
I need some help installing a renewed ssl certificate on our EC2 instance which is using Nginx. I have never used Nginx before so I want to make sure that nothing goes wrong.
I have both the certificate and Intermediate certificate (from Gandi.net) and I have been trying to follow a guide by Digital Ocean for installing them, however on the guide it mentions editing /etc/nginx/sites-enabled/default. The server doesn't have a sites-enabled directory so where should I be looking instead to add the relevant information?
If anyone can provide me with a simple step by step on installing certificates to nginx that would be highly appreciated. Thanks!
Edit:
I found the correct file in
/etc/nginx/conf.d/
What Linux distro are you using – Sathyajith Bhat – 2017-07-03T11:00:03.370
It is amazons own, I forget what it is called. But the login is ec2-user. I've only just taken over managing the server so I don't have all the details, sorry – Edward144 – 2017-07-03T11:02:06.480
In that case, you'll need to replace editing files in
/etc/nginx/sites-enabled/default
with/etc/nginx/conf.d
, rest should be the same – Sathyajith Bhat – 2017-07-03T18:05:54.933