Update README.md
This commit is contained in:
parent
3e0242d32b
commit
7a393fe914
16
README.md
16
README.md
|
@ -523,19 +523,16 @@ php daemon.php setAdmin <jid>
|
||||||
On ajoute/modifie dans le fichier `/etc/nginx/sites-enabled/xmpp.chalec.org.conf` :
|
On ajoute/modifie dans le fichier `/etc/nginx/sites-enabled/xmpp.chalec.org.conf` :
|
||||||
|
|
||||||
```
|
```
|
||||||
root /var/www/movim/public/index.php;
|
fastcgi_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nginx_cache:100m inactive=60m;
|
||||||
|
fastcgi_cache_key "$scheme$request_method$host$request_uri";
|
||||||
|
|
||||||
…
|
server {
|
||||||
|
|
||||||
|
root /var/www/movim/public/index.php;
|
||||||
|
|
||||||
http {
|
|
||||||
…
|
…
|
||||||
fastcgi_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nginx_cache:100m inactive=60m;
|
|
||||||
fastcgi_cache_key "$scheme$request_method$host$request_uri";
|
|
||||||
}
|
|
||||||
|
|
||||||
…
|
location /picture {
|
||||||
|
|
||||||
location /picture {
|
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
|
||||||
add_header X-Cache $upstream_cache_status;
|
add_header X-Cache $upstream_cache_status;
|
||||||
|
@ -543,6 +540,7 @@ location /picture {
|
||||||
fastcgi_cache nginx_cache;
|
fastcgi_cache nginx_cache;
|
||||||
fastcgi_cache_key $request_method$host$request_uri;
|
fastcgi_cache_key $request_method$host$request_uri;
|
||||||
fastcgi_cache_valid any 7d;
|
fastcgi_cache_valid any 7d;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue