Difference between revisions of "Nginx"
(→See also: Installation on Debian) |
m |
||
Line 45: | Line 45: | ||
*[http://nginx.org/en/docs/http/configuring_https_servers.html Configuring Nginx HTTPS servers] | *[http://nginx.org/en/docs/http/configuring_https_servers.html Configuring Nginx HTTPS servers] | ||
*[http://www.webhostingtalk.com/showthread.php?t=1025286 Installation on Debian] | *[http://www.webhostingtalk.com/showthread.php?t=1025286 Installation on Debian] | ||
− | [[Category: | + | [[Category:Libre software]] |
Revision as of 16:02, 14 April 2013
NGiNX by all accounts is much more efficient than Apache, so we will probably start changing the OD server, and our server installation procedure over to NGiNX.
Installation
Self-signed SSL certificates
Nginx doesn't use the basic .pem files that can be used by Apache for self-signed certificates. We need to go through the following procedure to turn the pem into key and crt files.
First we need to create a private key. Note that this process will require a pass-phrase for the key - don't worry, we'll remove it later to make things easier,
Now we need to create a CSR (Certificate Signing Request):
Now we need to remove the pass-phrase otherwise it'll prevent the web-server from restarting without it being entered (you'll need to enter the pass-phrase to remove it though),
Now we can generate the actual certificate:
The relevant server section can now be updated in the nginx configuration,