tra4less / caddy-ftp

access ftp via caddy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

caddy-ftp

access ftp through caddy

usage

{
  auto_https off
  http_port 80
  https_port 443
}

:80 {
    route /abc/* {
        uri replace /abc/ /
        ftp {
            addr test.rebex.net:21
            user demo
            pass password
            # dial_timeout 3s
            # disable_epsv
            # disable_utf8
        }
    }
    # curl localhost:80/abc/pub/example/imap-console-client.png
}

About

access ftp via caddy

License:MIT License


Languages

Language:Go 100.0%