diff --git a/.deploy/ssh/nginx.demo.pre.conf b/.deploy/ssh/nginx.demo.pre.conf index 2f1a7061fe8..d27b009e72e 100644 --- a/.deploy/ssh/nginx.demo.pre.conf +++ b/.deploy/ssh/nginx.demo.pre.conf @@ -21,32 +21,5 @@ http { location / { proxy_pass http://api:3000; } - } - - ############## using letsencrypt ########################## - server { - listen 80; - server_name apidemodts.gauzy.co; - - location / { - return 301 https://$host$request_uri; - } - location /.well-known/acme-challenge/ { - root /var/www/certbot; - } - } - - server { - listen 443 ssl; - server_name apidemodts.gauzy.co; - - # use the certificates - ssl_certificate /etc/nginx/ssl/live/apidemodts.gauzy.co/fullchain.pem; - ssl_certificate_key /etc/nginx/ssl/live/apidemodts.gauzy.co/privkey.pem; - - location / { - proxy_pass http://api:3000; - } - } - + } }