1
0
Fork 0
mirror of https://github.com/friendica/friendica-directory synced 2024-05-18 04:06:41 +02:00

Update INSTALL.md

This commit is contained in:
Andy H 2018-11-14 21:39:47 +07:00 committed by GitHub
parent c22ce2292d
commit ea3657d15b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,10 +63,19 @@ DocumentRoot /path/to/friendica-directory/public/
```
### Nginx
Include this line your nginx config file.
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