Excalidraw

An open source virtual hand-drawn style whiteboard.

Accessing IT-Tools

  • Otevřete prohlížeč a navštivte: https://<SERVER_IP>
  • Očekává se, že se v prohlížeči zobrazí varování týkající se SSL (certifikát s vlastním podpisem)
  • Authentication is required (Basic Auth popup)
  • Authentication method: HTTP Basic Auth
  • Credentials are stored securely in: /root/.cloudzy-creds

Důležité soubory a adresáře

  • Instalační adresář: /root/excalidraw
  • Soubor Docker Compose: /root/excalidraw/docker-compose.yml
  • Stored credentials: /root/.cloudzy-creds
  • Virtuální hostitel Nginx: /etc/nginx/sites-available/excalidraw.conf
  • Basic Auth file: /etc/nginx/auth/excalidraw.htpasswd
  • Certifikáty TLS: /etc/nginx/ssl

Bezpečnostní poznámky

  • IT-Tools is not exposed directly to the network.
  • Only Nginx listens on public ports.
  • Access is protected via Basic Auth.
  • TLS používá certifikát s vlastním podpisem.
  • Credentials are stored with restrictive permissions.

Povolení SSL s doménou

1. Nasměrujte svou doménu na IP adresu serveru.

2. Upravte konfiguraci Nginx a nahraďte oba server_name <IP>; s vaší doménou (<your-domain>) pro bloky HTTP (port 80) i HTTPS (port 443):

vim /etc/nginx/sites-available/excalidraw.conf

3. Nainstalujte Certbot:

apt install -y certbot python3-certbot-nginx

4. Spusťte následující příkaz a vygenerujte platný certifikát Let’s Encrypt:

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

5. Nahraďte cesty SSL v konfiguraci Nginx:

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

6. Restartujte Nginx, aby se změny projevily:

systemctl restart nginx

7. Otevřete prohlížeč a přejděte na adresu: https://yourdomain.com

Poznámky

  • Self-hosted instance does not yet support features like sharing or collaboration.
  • Always check Nginx and Docker logs if encountering issues.

Podrobnosti o aplikaci