Two SSL cert. How to tell Nginx which one to use?

0 votes
I have two SSL certs (I have no idea why). And I am trying to deploy a webpage on Nginx. My doubt is how will Nginx know which cert to use?
Dec 13, 2019 in Linux Administration by Hannah
• 17,890 points
74 views

Go to /etc/nginx/certs/ directory and add the certificate you want to add

server {
# ...previous content here
ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;}

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Linux Administration

–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 68,880 points
623 views
–1 vote
1 answer

How to use help command

The help command is limited and it ...READ MORE

answered Jan 10, 2019 in Linux Administration by Omkar
• 68,880 points
53 views
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

answered Mar 1, 2019 in Linux Administration by ajs3033
• 7,280 points
47 views
0 votes
1 answer
0 votes
1 answer

How do I use a shell script to SSH in to a remote machine to execute commands?

Your first problem can be solved like ...READ MORE

answered Jun 27, 2019 in Linux Administration by ajs3033
• 7,280 points
98 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
141 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
311 views