summaryrefslogtreecommitdiff
path: root/docker/etc/nginx/nginx.conf
diff options
context:
space:
mode:
authorRoelof Rietbroek (@grace) <roelof@geod.uni-bonn.de>2018-04-23 15:54:17 +0200
committerFrédéric Guillot <fred@kanboard.net>2018-04-30 11:33:14 -0700
commit93846ee99033084290e885b59b048635916955e5 (patch)
tree24657349d4b9475abbd5cc6ed3bc75f7d6ff4e0c /docker/etc/nginx/nginx.conf
parent0b475c18509c335087cc3158b5a7e616c1928286 (diff)
add SSL functionality to docker
Diffstat (limited to 'docker/etc/nginx/nginx.conf')
-rw-r--r--docker/etc/nginx/nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/etc/nginx/nginx.conf b/docker/etc/nginx/nginx.conf
index 6ba545f6..5ffbba0a 100644
--- a/docker/etc/nginx/nginx.conf
+++ b/docker/etc/nginx/nginx.conf
@@ -20,6 +20,9 @@ http {
server {
listen 80;
+ listen 443 ssl;
+ ssl_certificate /etc/nginx/ssl/kanboard.crt;
+ ssl_certificate_key /etc/nginx/ssl/kanboard.key;
server_name localhost;
index index.php;
root /var/www/app;