Self-hosted infrastructure and domain migration
Ubuntu servers hosting self-hosted GitLab CE, an image upload service (Node.js/Express in Docker) and several web panels, all behind one nginx reverse proxy with HTTPS, managed over SSH.
What I did
- Migrated GitLab and the upload service from samdal-hanssen.com subdomains to a new domain: DNS, certificates, nginx config, and replacing a hardcoded domain with an environment variable.
- Diagnosed an offline GitLab CI runner from its logs: a TLS certificate mismatch after the migration.
- Fixed a Docker-in-Docker hang caused by privileged mode, and learned the security trade-off of privileged containers.
- Set up a second server with a dev/main branch workflow for a team.
- Ubuntu Server
- SSH
- nginx
- Docker
- GitLab CE
- GitLab CI
- Let's Encrypt
- DNS