[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: nginx: mirror: Add TLS server.
From: |
Ludovic Courtès |
Subject: |
02/02: nginx: mirror: Add TLS server. |
Date: |
Thu, 10 Mar 2016 15:42:51 +0000 |
civodul pushed a commit to branch master
in repository maintenance.
commit b3e543c953d3403d3c8858cf7a692c4376ef0442
Author: Ludovic Courtès <address@hidden>
Date: Thu Mar 10 16:34:04 2016 +0100
nginx: mirror: Add TLS server.
---
hydra/nginx/mirror.conf | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/hydra/nginx/mirror.conf b/hydra/nginx/mirror.conf
index e9b6cca..eca26bc 100644
--- a/hydra/nginx/mirror.conf
+++ b/hydra/nginx/mirror.conf
@@ -66,4 +66,17 @@ http {
include mirror-locations.conf;
}
+
+ server {
+ listen 443 ssl;
+ server_name hydra.gnunet.org;
+ keepalive_timeout 70;
+
+ access_log /var/log/nginx/hydra.https.access.log;
+
+ ssl_certificate /etc/letsencrypt/live/hydra.gnunet.org/cert.pem;
+ ssl_certificate_key /etc/letsencrypt/live/hydra.gnunet.org/privkey.pem;
+
+ include mirror-locations.conf;
+ }
}