28 lines
786 B
Bash
Executable File
28 lines
786 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script sets up the VPS with the correct Nginx configuration and deploys the website
|
|
|
|
# Set variables
|
|
SERVER_IP="66.179.188.130"
|
|
|
|
echo "=== Setting up VPS for boilerhaus.org (IP: $SERVER_IP) ==="
|
|
echo ""
|
|
|
|
# Step 1: Update Nginx configuration
|
|
echo "Step 1: Updating Nginx configuration..."
|
|
./update-nginx-config.sh
|
|
|
|
# Step 2: Deploy website
|
|
echo ""
|
|
echo "Step 2: Deploying website..."
|
|
./deploy-website.sh
|
|
|
|
echo ""
|
|
echo "=== Setup complete! ==="
|
|
echo "Your domains should now be configured as follows:"
|
|
echo "- boilerhaus.org → Main website"
|
|
echo "- bw.boilerhaus.org → Vaultwarden instance"
|
|
echo "- cloud.boilerhaus.org → Nextcloud dashboard"
|
|
echo "- git.boilerhaus.org → Gitea instance"
|
|
echo ""
|
|
echo "Please allow a few minutes for DNS changes to propagate." |