跳至主要内容
五折优惠 全部方案,限时优惠。起价 $2.48/mo
IT-Tools

IT-Tools

IT-Tools 集 80 余款开发者工具于一身。Token 生成器、编码器、正则测试器、JSON 格式化工具、哈希计算器、颜色转换器、时间戳工具,全部支持离线使用,打包在一个 Vue.js 应用里。GitHub 上收藏数最多的开发者工具合集。

快速概览

39.5k

GitHub star 数

274

页面浏览量

343

活跃安装数

许可证 GPL-3.0 版本 Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

活跃安装数为示例数据(预览版);正式版本将接入真实数据。

访问 IT-Tools

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

重要文件与目录

  • 安装目录: /root/it-tools
  • Docker Compose 文件: /root/it-tools/docker-compose.yml
  • 存储的凭据: /root/.cloudzy-creds
  • Nginx 虚拟主机: /etc/nginx/sites-available/it-tools.conf
  • Basic Auth 文件: /etc/nginx/auth/it-tools.htpasswd
  • TLS 证书: /etc/nginx/ssl

安全提示

  • 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/it-tools.conf

3. 安装 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/apache2/sites-available/it-tools.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

更多自托管内容

相关应用。

立即部署 IT-Tools。 起价 $2.48/月。