Correction : roundcube : supporte tiny_mce.
[lhc/ateliers.git] / etc / nginx / site.d / roundcube / site.conf
index c8fd7cb..89f9146 100644 (file)
@@ -1,6 +1,11 @@
 server_name
  roundcube.heureux-cyclage.org
- roundcube.cyclocoop.org;
+ roundcube.changedechaine.org
+ roundcube.chatperche.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 +19,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;
@@ -28,16 +33,19 @@ location = /robots.txt {
 location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
        deny all;
  }
+location /program/js/tiny_mce/ {
+       alias /usr/share/tinymce/www/;
+ }
 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;