From 698a46c9f9adee875b18fb4d4f58c68baef66d5b Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sun, 20 Aug 2023 12:43:59 +0200 Subject: [PATCH] Updated config --- nginx.conf | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/nginx.conf b/nginx.conf index 88bbacb..0d96f01 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,12 +25,7 @@ server { client_max_body_size 0; } - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/vanten-s.com/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/vanten-s.com/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - + listen 80; } server { @@ -39,12 +34,7 @@ server { proxy_pass http://localhost:8089; } - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/vanten-s.com/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/vanten-s.com/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - + listen 80; } server { @@ -58,12 +48,7 @@ server { proxy_pass http://172.21.0.3:3000/; } - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/vanten-s.com/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/vanten-s.com/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - + listen 80; } server { @@ -72,12 +57,6 @@ server { proxy_pass http://172.20.0.2:3000/; } - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/vanten-s.com/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/vanten-s.com/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - - + listen 80; } }