Fix SPA routing and static file paths

This commit is contained in:
小萝
2026-04-29 07:32:11 +00:00
parent 826daabfa8
commit aaccef6bf1
6 changed files with 108 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
# SSH Configuration for GitHub Actions Deployment
## Problem
Password authentication is disabled on the server, causing SSH connection failures.
## Solution
1. Access server via cloud provider console/VNC
2. Edit /etc/ssh/sshd_config
3. Set PasswordAuthentication yes
4. Restart SSH: systemctl restart sshd
## Current Status
- SSH key generated: /root/.ssh/github_actions
- Public key added to authorized_keys
- Password authentication: DISABLED (needs to be re-enabled)
## Next Steps
1. Re-enable password authentication temporarily
2. Add private key to GitHub Secrets as DEPLOY_KEY
3. Update workflow to use SSH key authentication
4. Then disable password authentication permanently