Refactor demo URLs and add nginx reverse-proxy configuration

This commit is contained in:
2025-06-07 21:16:50 +02:00
parent f8f88f42f4
commit f080037902
5 changed files with 58 additions and 7 deletions

View File

@@ -65,7 +65,8 @@
# Ensure remote path exists before scp
ssh -p "$PORT" "$DEPLOY_USER@$HOST" "mkdir -p $REMOTE_ENV_PATH"
scp -P "$PORT" docker-compose.yml "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/docker-compose.yml"
scp -P "$PORT" nginx.conf "$DEPLOY_USER@$HOST:$REMOTE_ENV_PATH/nginx.conf"
echo "Deploying DEMO on $HOST"
ssh -p "$PORT" "$DEPLOY_USER@$HOST" "
cd $REMOTE_ENV_PATH