Skip to content

Commit

Permalink
created action for gauzy api stage on digitalOcean droplet
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 committed Mar 2, 2024
1 parent b053801 commit 2f571d9
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .deploy/ssh/nginx.demo.pre.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

}
}

0 comments on commit 2f571d9

Please sign in to comment.