Files
ncd-fe/docs/installing/standalone.md
nicole mikołajczyk 7b3cdaea0c Update README after documentation changes
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-05 19:54:52 +01:00

16 lines
724 B
Markdown

# Standalone pl-fe installation
To install `pl-fe` in standalone mode, allowing to sign in to any instance implementing Mastodon client API, you only need a static web server to serve the files. As usual on single page applications with client-side routing, the server must be configured to fallback to `index.html` for non-matching routes.
## Example Caddy configuration
```caddy
pl-fe.example.com {
root * /var/www/pl-fe
encode
try_files {path} /index.html
file_server
}
```
This assumes you're serving `pl-fe` under the pl-fe.example.com domain and the `pl-fe` files are located in `/var/www/pl-fe`. You can download `pl-fe` from `https://pl.mkljczk.pl/pl-fe.zip` or [build it from source](../building/pl-fe.md).