Add initial setup for local HTTPS debugging and Nginx configuration

- Introduce `setup-certs.sh` script for generating trusted local TLS certificates using mkcert.
- Add Nginx configuration files for local and Docker environments to handle HTTPS requests and proxy to backend services.
- Update `docker-compose.yaml` to include Nginx service for unified TLS entry and adjust frontend service ports for local development.
- Create `AGENTS.md` and `README.md` files to document the local HTTPS setup process and usage instructions.
- Modify backend startup commands in `README.md` for consistency with new requirements.
- Add `.gitignore` to exclude generated certificates from version control.
This commit is contained in:
Xin Wang
2026-06-10 13:37:24 +08:00
parent e94d98e947
commit 0adb3ed8a1
10 changed files with 334 additions and 6 deletions

13
.claude/launch.json Normal file
View File

@@ -0,0 +1,13 @@
{
"version": "0.0.1",
"configurations": [
{
"name": "ai-video-admin",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev", "--", "-p", "3001"],
"cwd": "frontend",
"port": 3001,
"autoPort": false
}
]
}