50% 할인 모든 플랜, 기간 한정. 시작 가격 $2.48/mo
GoatCounter

GoatCounter

GoatCounter는 개인정보를 존중하는 웹 분석 도구입니다. 쿠키 없음, 사용자 추적 없음, GDPR 준수, 비상업적 사용 시 무료입니다. SQLite 또는 PostgreSQL 백엔드를 지원하는 단일 Go 바이너리로, 오픈 웹을 지향하는 개인 개발자가 만들었습니다. 가장 가벼운 분석 스택입니다.

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4

Access

  1. 브라우저를 열고 아래 주소로 이동하세요: https://<SERVER_IP>
  2. 브라우저에서 SSL 경고가 표시될 수 있습니다 (자체 서명 인증서)
  3. 첫 방문 시 첫 번째 사용자와 사이트를 생성하세요.

주요 파일 및 디렉토리

  • Install directory: /root/goatcounter
  • Docker Compose: /root/goatcounter/docker-compose.yml
  • Data volume: /var/lib/docker/volumes/goatcounter_goatcounter-data/_data
  • Nginx config: /etc/nginx/sites-available/goatcounter
  • 활성화된 Nginx 사이트: /etc/nginx/sites-enabled/goatcounter
  • SSL certificates: /etc/nginx/ssl/

도메인으로 SSL 활성화하기

1. 도메인을 서버 IP로 연결합니다.

2. Nginx 설정을 편집하여 server_name <IP>; 을 실제 도메인으로 교체합니다 (<your-domain>) HTTP (포트 80) 및 HTTPS (포트 443) 블록 모두에 적용합니다:

vim /etc/nginx/sites-available/goatcounter

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. 다음 명령어를 실행하여 유효한 Let's Encrypt 인증서를 발급받으세요:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Nginx 설정의 SSL 경로를 교체합니다:

vim /etc/nginx/sites-available/goatcounter
# Before:
    # ssl_certificate       /etc/nginx/ssl/goatcounter.crt;
    # ssl_certificate_key   /etc/nginx/ssl/goatcounter.key;
# After:
    # ssl_certificate       /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key   /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. 변경 사항을 적용하기 위해 Nginx를 재시작합니다:

systemctl restart nginx

7. 브라우저를 열고 다음 주소로 접속하세요: https://yourdomain.com

More in Monitoring

Related apps.

지금 GoatCounter를 배포하세요. 월 $2.48부터.