Update README.md
This commit is contained in:
parent
3e0242d32b
commit
7a393fe914
28
README.md
28
README.md
|
@ -523,26 +523,24 @@ php daemon.php setAdmin <jid>
|
|||
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 {
|
||||
include fastcgi_params;
|
||||
|
||||
location /picture {
|
||||
include fastcgi_params;
|
||||
|
||||
add_header X-Cache $upstream_cache_status;
|
||||
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
|
||||
fastcgi_cache nginx_cache;
|
||||
fastcgi_cache_key $request_method$host$request_uri;
|
||||
fastcgi_cache_valid any 7d;
|
||||
add_header X-Cache $upstream_cache_status;
|
||||
fastcgi_ignore_headers "Cache-Control" "Expires" "Set-Cookie";
|
||||
fastcgi_cache nginx_cache;
|
||||
fastcgi_cache_key $request_method$host$request_uri;
|
||||
fastcgi_cache_valid any 7d;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue