- Configure Hetzner Cloud server (CPX22, Ubuntu 24.04) - Manage floating IP (87.99.133.81) - Firewall rules for HTTP, HTTPS, SSH - Persistent volume (40GB) - nginx reverse proxy with SSL (Let's Encrypt) - contact-api (Node.js email backend) - Fix CORS issue: removed proxy_set_header Origin ://; - Include cloud-init for initial provisioning This Terraform config will manage the VPS going forward.
16 lines
169 B
Text
16 lines
169 B
Text
# Terraform
|
|
*.tfstate
|
|
*.tfstate.*
|
|
.terraform/
|
|
*.tfvars
|
|
!terraform.tfvars.example
|
|
|
|
# Variables
|
|
*.tfvars.backup
|
|
|
|
# Local state
|
|
.terraform.lock.hcl
|
|
|
|
# SSH keys
|
|
*.pem
|
|
*.key
|