Skip to content

Commit 21c6ec6

Browse files
ImTotemclaude
andcommitted
fix(infra): ensure /var/www/certbot exists before nginx reload
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 85c3bb2 commit 21c6ec6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infra/scripts/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ fi
7878

7979
echo "4. Switching nginx → $NEXT"
8080
sed -i "s/proxy_pass http:\/\/api_${CURRENT}/proxy_pass http:\/\/api_${NEXT}/g" "$NGINX_CONF"
81+
sudo mkdir -p /var/www/certbot
8182
sudo cp "$NGINX_CONF" "$NGINX_DEST"
8283
sudo nginx -t && sudo nginx -s reload
8384

0 commit comments

Comments
 (0)