diff options
Diffstat (limited to 'terminaldweller.com/privatebin')
-rw-r--r-- | terminaldweller.com/privatebin/docker-compose.yaml | 3 | ||||
-rw-r--r-- | terminaldweller.com/privatebin/nginx.conf | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/terminaldweller.com/privatebin/docker-compose.yaml b/terminaldweller.com/privatebin/docker-compose.yaml index c6f97e3..4e1d482 100644 --- a/terminaldweller.com/privatebin/docker-compose.yaml +++ b/terminaldweller.com/privatebin/docker-compose.yaml @@ -31,7 +31,8 @@ services: - NET_BIND_SERVICE volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - - /etc/letsencrypt/archive/pastebin.terminaldweller.com/:/certs/:ro + - /etc/letsencrypt/live/pastebin.terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/pastebin.terminaldweller.com/fullchain.pem:ro + - /etc/letsencrypt/live/pastebin.terminaldweller.com/privkey.pem:/etc/letsencrypt/live/pastebin.terminaldweller.com/privkey.pem:ro networks: privatebinnet: volumes: diff --git a/terminaldweller.com/privatebin/nginx.conf b/terminaldweller.com/privatebin/nginx.conf index 78b0bc5..cb4004e 100644 --- a/terminaldweller.com/privatebin/nginx.conf +++ b/terminaldweller.com/privatebin/nginx.conf @@ -9,8 +9,8 @@ http { listen 443 ssl; keepalive_timeout 60; charset utf-8; - ssl_certificate /certs/fullchain1.pem; - ssl_certificate_key /certs/privkey1.pem; + ssl_certificate /etc/letsencrypt/live/pastebin.terminaldweller.com/fullchain.perm; + ssl_certificate_key /etc/letsencrypt/live/pastebin.terminaldweller.com/privkey.perm; ssl_ciphers HIGH:!aNULL:!MD5:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_protocols TLSv1.3; ssl_session_cache shared:SSL:50m; @@ -30,7 +30,7 @@ http { # resolver 9.9.9.9 208.67.222.222; # ssl_stapling on; # ssl_stapling_verify on; - ssl_trusted_certificate /certs/cert1.pem; + # ssl_trusted_certificate /certs/cert1.pem; error_page 401 403 404 /404.html; location / { |