Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,22 @@ In your Virtual Host file, set your document root as follow:
DocumentRoot /path/to/friendica-directory/public/
```

### Nginx
Add these lines to your nginx config file.

```
root /path/to/friendica-directory/public;

location / {
rewrite ^/(.*) /index.php?$args last;
}

location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|ttf|woff|svg)$ {
expires 30d;
try_files $uri /index.php?q=$uri&$args;
}
```

## 4. Set up the background task

Friendica Directory relies on a background task running every minute to keep the directory up to date.
Expand Down