Update INSTALL.md #10
11
INSTALL.md
11
INSTALL.md
|
@ -63,10 +63,19 @@ DocumentRoot /path/to/friendica-directory/public/
|
||||||
```
|
```
|
||||||
|
|
||||||
### Nginx
|
### Nginx
|
||||||
Include this line your nginx config file.
|
Add these lines to your nginx config file.
|
||||||
|
|
||||||
```
|
```
|
||||||
root /path/to/friendica-directory/public;
|
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
|
## 4. Set up the background task
|
||||||
|
|
Loading…
Reference in a new issue