Update README.md

This commit is contained in:
Adrien Bourmault 2023-04-03 21:07:10 +00:00
parent 3e0242d32b
commit 7a393fe914
1 changed files with 13 additions and 15 deletions

View File

@ -523,19 +523,16 @@ 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 {
location /picture {
include fastcgi_params;
add_header X-Cache $upstream_cache_status;
@ -543,6 +540,7 @@ location /picture {
fastcgi_cache nginx_cache;
fastcgi_cache_key $request_method$host$request_uri;
fastcgi_cache_valid any 7d;
}
}
```