diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-20 01:13:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-20 01:13:24 (GMT) |
commit | 7da4671762aa29ba9c5beccc2381cf3e86470a77 (patch) | |
tree | 6d0a3e69e0ff3018911e7a1dc7ea40e96d4328a4 | |
parent | 7ef7c0bff080959825185a03d558d806888a91a5 (diff) | |
download | site-7da4671762aa29ba9c5beccc2381cf3e86470a77.tar.gz |
Nginx: Remove duplicated cerificate configuration
It should suffice to specify the cerificate/key file paths in the
"default_server" block.
-rw-r--r-- | etc/nginx.conf | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf index 5cbbeeb..3e7e546 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf | |||
@@ -16,8 +16,6 @@ server { | |||
16 | listen 130.133.8.40:443 ssl; | 16 | listen 130.133.8.40:443 ssl; |
17 | listen 130.133.8.40:444 ssl; | 17 | listen 130.133.8.40:444 ssl; |
18 | server_name www.monitoring-plugins.org; | 18 | server_name www.monitoring-plugins.org; |
19 | ssl_certificate /home/plugins/etc/ssl/monitoring-plugins.crt; | ||
20 | ssl_certificate_key /home/plugins/etc/ssl/monitoring-plugins.key; | ||
21 | root /home/plugins/web/port-$server_port; | 19 | root /home/plugins/web/port-$server_port; |
22 | 20 | ||
23 | # | 21 | # |