서버/Home Server 구축
2025. 3. 26.
01. CloudFlare Tunnel 환경 만들기
https://github.com/gitryk/traefik-sample위 레포지토리를 기준으로 작성 합니다. 도메인 대쉬보드에서 계정 ID를 기록 해 둔 후 API 토큰 가져오기 클릭 토큰 생성 클릭 맨 아래 스크롤 후 사용자 설정 토큰 생성 위와 같이 설정 후 요약 계속 토큰 생성 클릭 API 토큰을 기록해 둡니다.export ACCOUNT_ID="복사한 계정 ID"export CLOUDFLARE_API_TOKEN="복사한 API 토큰"export TUNNEL_NAME="원하는 터널 이름"curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/tunnels" \ --header 'Content-Type: application/js..