From a46ca053c6f6a9c2242abfa0b0dd6501ee86f0df Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Sun, 3 May 2020 23:53:20 +0100 Subject: [PATCH] . --- letsencrypt-nginx/conf/git.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/letsencrypt-nginx/conf/git.conf b/letsencrypt-nginx/conf/git.conf index 4d41321..eab0135 100644 --- a/letsencrypt-nginx/conf/git.conf +++ b/letsencrypt-nginx/conf/git.conf @@ -20,6 +20,25 @@ server { return 301 https://${DOLLAR}host${DOLLAR}request_uri; } } +server { + # resolver 127.0.0.11 valid=30s; ## internal docker dns + #listen [::]:3011 default ipv6only=on; ## listen for ipv6 + # listen 444 + listen 5005 ssl; + # this should allow large docs + client_header_timeout 120s; + client_body_timeout 120s; + client_max_body_size 200m; + ssl_certificate /etc/letsencrypt/live/${SERVER_NAME}/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/${SERVER_NAME}/privkey.pem; + # save logs here + #access_log /var/log/nginx/access.log compression; + server_name ${SERVER_NAME}; + + location / { + proxy_pass ${COMMENTO_PROXY_PASS}; + } +} server { # resolver 127.0.0.11 valid=30s; ## internal docker dns