[Solved] Nginx: [emerg] duplicate listen options for [::]:443


#1

My domain is: dev.xxxx.com

I ran this command: sudo certbot --nginx

It produced this output:

Deployed Certificate to VirtualHost /etc/nginx/conf.d/default.conf for dev.xxxx.com
nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/conf.d/default.conf:95
Rolling back to previous server configuration…

My web server is (include version): nginx version: nginx/1.13.1

The operating system my web server runs on is (include version): ubuntu 14

I can login to a root shell on my machine : yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): putty


#2

Hi,

Can you share your default.conf so we can see what’s going on?

(seems to be a misconfigured file)

Thank you


#3

The problem has been solved,thanks for your reply.


#4

I’m happy to hear you solved your problem! Can you share what you fixed? That way I can mark the thread solved and you may help someone else down the road who has a similar problem.


#5

Manual configuration


#6

Would definitely help the community if you add some detail. I’m having the same issue and would love a starting point to not repeat the same mistakes.


#7

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.