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 6b67c5d commit dcd03ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .deploy/ssh/docker-compose.api.demo.letsencrypt.pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
image: nginx:latest
volumes:
- ./nginx.demo.pre.letsencrypt.conf:/etc/nginx/nginx.conf:ro
- ./certbot/conf/:/etc/nginx/ssl/:ro
- ./certbot/www:/var/www/certbot/:ro
- ./certbot/conf:/etc/nginx/ssl:ro
- ./certbot/www:/var/www/certbot:ro
restart: unless-stopped
ports:
- "80:80"
Expand All @@ -17,10 +17,10 @@ services:
image: certbot/certbot:latest
container_name: certbot
volumes:
- ./certbot/conf/:/etc/letsencrypt/:rw
- ./certbot/www/:/var/www/certbot/:rw
#--force-renewal
command: certonly --webroot -w /var/www/certbot/ --email ever@ever.tech -d apidemodts.gauzy.co --agree-tos
- ./certbot/conf:/etc/letsencrypt:rw
- ./certbot/www:/var/www/certbot:rw

command: certonly --webroot -w /var/www/certbot --force-renewal --email ever@ever.tech -d apidemodts.gauzy.co --agree-tos
volumes:
certificates: {}

Expand Down
2 changes: 1 addition & 1 deletion .deploy/ssh/nginx.demo.pre.letsencrypt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ http {
location / {
return 301 https://$host$request_uri;
}
location /.well-known/acme-challenge/ {
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
Expand Down

0 comments on commit dcd03ca

Please sign in to comment.