X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Froundcube%2Fsite.conf;h=2f811b65b4542fee0577935cb86f74868f8dd83f;hb=2be67d551eb2ec0fc0c02eaf183bafee8a99dfc1;hp=c8fd7cb59710848b5e48193b2a316e227f511fe4;hpb=de3ffef0e46f7d9064a21eab0e73693975f3c182;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/roundcube/site.conf b/etc/nginx/site.d/roundcube/site.conf index c8fd7cb..2f811b6 100644 --- a/etc/nginx/site.d/roundcube/site.conf +++ b/etc/nginx/site.d/roundcube/site.conf @@ -1,6 +1,10 @@ server_name roundcube.heureux-cyclage.org - roundcube.cyclocoop.org; + roundcube.changedechaine.org + roundcube.cyclocoop.org + roundcube.lesjantesdunord.org + roundcube.ptitvelo.net + roundcube.veli-velo.org; client_body_buffer_size 8k; client_max_body_size 10m; @@ -14,7 +18,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 +35,13 @@ location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ { location ~ ^/(bin|SQL)/ { deny all; } -location ~ ^/images/.+(png) { +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;