Hi! I was investigating on why if a nginx website was not properly configured would be return another website on the same rig. So I found that the default nginx website was not configured to serve on :443, so I uncommented that lines, also the Code: include snippets/snakeoil.conf; part to serve a certificate. Everything works as expected now. But... the same file is saying: Code: # Self signed certs generated by the ssl-cert package # Don't use them in a production server! So, is there a way to solve this and use it on a production server? what consequence could have to run this on a production server? Thanks!
It is safe to use the default on a production server as the lines you referred to are commented out. You can also customize the default vhost template by using conf-custom folder.
Thanks @ahrasis the unsafe part was referred to the self-signed certificate part, can you confirm also this is safe... afterall this would only be online if the site is down for some reason.