X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Froundcube%2Fsite.conf;h=60210426d593fcc95eb03e5425eca4c3d688227d;hb=bc3384745cbaf1098927f7a6bba9674aaefa20bb;hp=670b105934971d2eab895212ea5a978e29a9b689;hpb=b75d4503ef9c919231c0c02daf5a1ed1e57c73af;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/roundcube/site.conf b/etc/nginx/site.d/roundcube/site.conf index 670b105..6021042 100644 --- a/etc/nginx/site.d/roundcube/site.conf +++ b/etc/nginx/site.d/roundcube/site.conf @@ -1,6 +1,9 @@ server_name roundcube.heureux-cyclage.org - roundcube.cyclocoop.org; + roundcube.changedechaine.org + roundcube.cyclocoop.org + roundcube.ptitvelo.net + roundcube.veli-velo.org; client_body_buffer_size 8k; client_max_body_size 10m; @@ -14,7 +17,7 @@ location ~ /\. { deny all; log_not_found off; } -location ~ ^/favicon.ico$ { +location = /favicon.ico { root /usr/share/roundcube/skins/default/images/; access_log off; expires max; @@ -31,13 +34,13 @@ location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ { location ~ ^/(bin|SQL)/ { deny all; } -location ~ ^/images/.+(png) { - root /home/www/pub/roundcube; +location ~ ^/images/.+\.(png) { + root /home/www/data/roundcube; access_log off; expires 30d; log_not_found off; } -location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ { +location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ { root /usr/share/roundcube; access_log off; expires 30d;