3

I'm trying to install nginx using the package manager. Usually I'd do this:

sudo apt-get install nginx

but I need nginx to have SSL support. I could compile nginx from source with SSL support, but I'd like to use a package manager just to make it easier to upgrade or remove if I need to.

Does the nginx package compile with SSL support or is there a way to make it?

Thanks.

5

The package nginx-full installs ssl support as well.

Please refer to this guide to configure your ssl

http://wiki.nginx.org/HttpSslModule

  • beware - nginx-full currently installs nginx 1.1.19 which is a couple of versions old. – outside2344 Feb 18 '14 at 2:17
0

The SSL certificate - is the thing, which the websites have unique. Nginx can't provide preinstalled certs, because as i said - 1 cert for 1 site. The SSL certificates are paid, and expire after a while. So, the only way you can get totally FREE SSL certificate - is using certbot. This program gets Free SSL Certificates from Let's Encrypt authority. They're have no differencies beetween paid ones (except short duration - 2 months). But you can set automatical renew. I'm using this certificates, and I'm pretty wondered that SSL certificate can be free. So the you can follow those steps to get SSL on your website.

But you'll need a domain.

EDIT: nginx package already supports SSL. You don't need to install other packages.
Just use

sudo apt-get install nginx

protected by Thomas Ward Jan 28 at 14:57

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.