配置 vps

  • 开启 bbr 算法 搜索本wiki
  • install docker official doc
  • install docker-compose official doc
  • get docker file: git clone https://gitlab.com/icymind/docker-ss-kcptun.git
  • 运行 ss-kt 镜像: sudo docker-compose up -d
  • 开启防火墙的相应端口(不同提供商不一样)
  • 运行 nginx + https 镜像:

yaml version: '2' services: https-portal: image: steveltn/https-portal container_name: https restart: always ports: - '80:80' - '443:443' environment: DOMAINS: 'icymind.com' STAGE: 'production' volumes: - ~/vhosts:/var/www/vhosts - 把站点文件放到 ~/vhosts 中