clicli-cdn

command module
v0.0.0-...-9f1ab1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: MIT Imports: 3 Imported by: 0

README

clicli-cdn

适用于 c 站的分块上传 && 视频编解码

部署

一、手动部署 0. 准备一台空的 linux 机器,在 root 目录新建文件夹 video

  1. 将 bin/cdn 文件上传到 video 文件夹,并设置权限 777
nohup ./cdn &
  1. logo.png 同样需要上传到 video 文件夹,这是视频编码时用到的水印

  2. nginx 配置当前目录为静态文件目录

     location /video/ {   
        alias /root/video/;     
        index index.html;   
    } 
    location / {                      
        proxy_pass http://localhost:2333;   
    } 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL