Update INSTALL.md #10
16
INSTALL.md
16
INSTALL.md
|
@ -62,6 +62,22 @@ In your Virtual Host file, set your document root as follow:
|
|||
DocumentRoot /path/to/friendica-directory/public/
|
||||
Not required. I removed it.
What about these Not required. I removed it.
```suggestion
try_files $uri /index.php?$args;
```
What about these `ttf|woff|svg` ?
We use fontawesome so I would keep the mentions of the fonts and svg files. We use fontawesome so I would keep the mentions of the fonts and svg files.
OK. Thanks. OK. Thanks.
|
||||
```
|
||||
|
||||
### 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?$args;
|
||||
}
|
||||
```
|
||||
|
||||
## 4. Set up the background task
|
||||
|
||||
Friendica Directory relies on a background task running every minute to keep the directory up to date.
|
||||
|
|
Loading…
Reference in a new issue
Are you sure you need the
q=$uri
here?