diff --git a/Mediaserver-setup.md b/Mediaserver-setup.md new file mode 100644 index 0000000..b19ece8 --- /dev/null +++ b/Mediaserver-setup.md @@ -0,0 +1,17 @@ +Go to https://caddyserver.com/download +Enable `http.upload` as plugin + +Make sure the process you're running caddy with has read/write access to `/var/www/upload/` + +Sample Caddyfile +``` +yourserver.com:443 { + log stdout + root /var/www/upload/ + browse + basicauth /web/upload a_user a_password + upload /upload { + to "/var/www/upload/" + } +} +``` \ No newline at end of file