2020年2月

:80 {
    redir https://swds.tk:443{url}
    }
https://swds.tk:443, https://de.swds.tk:443  {
    gzip
    tls admin@de.swds.tk
    root /www
    proxy /v/ localhost:8080 {
        websocket
        header_upstream -Origin
    }
    fastcgi / /run/php/php7.0-fpm.sock php
    log /var/log/caddy.log
}

cd /root/temp
zip -rqy swds-tk-$(date +"%y%m%d-%H%M%S").zip /www
rclone move *.zip cg:/root/iSpy/site
rclone copy syncthing/ odrive:syncthing/ -v --exclude *.thumb* --exclude *.tmp --max-age 70h --no-traverse 

zip r递归 q安静 y不追踪文件连接