diff --git a/README.md b/README.md index f331143..fefc2a4 100644 --- a/README.md +++ b/README.md @@ -36,13 +36,22 @@ Below is my [Caddy][6] file config for phanpy. ```Caddyfile http://phanpy.{$PRIVATE_ONION} { - header { - Content-Security-Policy "default-src 'self' 'unsafe-inline' social.balki.me wss://social.balki.me data: ;" - Referrer-Policy same-origin - } - reverse_proxy /wrap/* localhost:3242 - root * /var/www/phanpy/ - file_server + @firstreq { + path / + header !Referer + } + + redir @firstreq /wrap/index.html + + header { + Content-Security-Policy "default-src 'self' 'unsafe-inline' social.balki.me wss://social.balki.me data: ;" + Referrer-Policy same-origin + } + + reverse_proxy /wrap/* unix//run/rls.sock + + root * /usr/share/webapps/phanpy/ + file_server } ``` @@ -61,6 +70,10 @@ Let me know at `@balki@balki.me` in fediverse, if you find it useful ```bash go install go.balki.me/remote-local-storage@latest ``` +### AUR + +- https://aur.archlinux.org/packages/remote-local-storage-git +- (PKGBUILD) https://gitea.balki.me/balki-aur/remote-local-storage ---