50% off 所有套餐限时优惠,起价 $2.48/mo
Excalidraw

Excalidraw

Excalidraw 是一款手绘风格的虚拟白板。直接在浏览器中绘制架构图、线框图和流程图,支持多人实时协作。开源项目,每月活跃开发者超过 100 万。刻意保留草稿感的白板工具,让你始终清楚这是初稿。

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4

Accessing IT-Tools

  • 打开浏览器,访问: https://<SERVER_IP>
  • 浏览器出现 SSL 警告属于正常现象(自签名证书)
  • 需要身份验证(Basic Auth 弹窗)
  • 验证方式:HTTP Basic Auth
  • 凭据安全存储于: /root/.cloudzy-creds

重要文件与目录

  • Installation directory: /root/excalidraw
  • Docker Compose 文件: /root/excalidraw/docker-compose.yml
  • Stored credentials: /root/.cloudzy-creds
  • Nginx 虚拟主机: /etc/nginx/sites-available/excalidraw.conf
  • Basic Auth 文件: /etc/nginx/auth/excalidraw.htpasswd
  • TLS certificates: /etc/nginx/ssl

Security Notes

  • IT-Tools 不直接暴露在网络中。
  • 只有 Nginx 监听公共端口。
  • 访问受 Basic Auth 保护。
  • TLS 使用自签名证书。
  • 凭据以受限权限存储。

通过域名启用 SSL

1. 将你的域名指向服务器 IP。

2. 编辑 Nginx 配置,替换以下两处 server_name <IP>; 使用您的域名(<your-domain>) 适用于 HTTP(端口 80)和 HTTPS(端口 443)的规则块:

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

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/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. 重启 Nginx 以应用更改:

systemctl restart nginx

7. 打开浏览器,访问: https://yourdomain.com

Notes

  • 自托管实例暂不支持共享或协作等功能。
  • 遇到问题时,请务必查看 Nginx 和 Docker 的日志。

更多自托管内容

Related apps.

立即部署 Excalidraw。 From $2.48/mo.