Built from Dockerfile today (downloaded from caddyserver.com in the build)
FROM alpine:3.6
LABEL caddy_version="0.10.4" architecture="amd64"
ARG plugins=http.git,http.filemanager,http.upload
RUN apk add --no-cache openssh-client git tar curl
RUN curl --silent --show-error --fail --location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
"https://caddyserver.com/download/linux/amd64?plugins=${plugins}" \
| tar --no-same-owner -C /usr/bin/ -xz caddy \
&& chmod 0755 /usr/bin/caddy \
&& /usr/bin/caddy -version
VOLUME /root/.caddy
COPY Caddyfile /etc/Caddyfile
EXPOSE 80 443 2015
ENTRYPOINT ["/usr/bin/caddy"]
CMD ["--conf", "/etc/Caddyfile", "--log", "stdout"]
https://MASK_MY_DOMAIN {
log stdout
basicauth MASK_MY_USERNAME MASK_MY_PASSWORD {
/download
/saved
}
proxy /wobserver/ws app:4000 {
transparent
websocket
}
proxy / app:4000 {
except /saved /manage
transparent
}
root /var/www
browse /saved
filemanager /manage /var/www/saved
tls MASK_MY_EMAIL
}
use filemanager
everything works under /manage
it doesn't
the html it returns starts with, where base is empty
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no"><meta name=base content=""><title>File Manager</title>
Update: actually, it's more serious than that... it fails to match path. When I go to /saved it also gets hijacked by filemanager.
Oops! I'm really sorry for this. I'll push a fix very soon and deploy it to the build server. When the working version is ready, I'll ping you.
Thanks for the quick response!
No problem! The plugin was already deployed. Please try again and check if it is working 馃槃
Hi, it's working as expected now. I found something else, I'll open an new issue.
Thank you 馃槃