dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : nginx : échappement regexp.
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
roundcube
/
site.conf
diff --git
a/etc/nginx/site.d/roundcube/site.conf
b/etc/nginx/site.d/roundcube/site.conf
index
c8fd7cb
..
6511577
100644
(file)
--- a/
etc/nginx/site.d/roundcube/site.conf
+++ b/
etc/nginx/site.d/roundcube/site.conf
@@
-14,7
+14,7
@@
location ~ /\. {
deny all;
log_not_found off;
}
deny all;
log_not_found off;
}
-location
~ ^/favicon.ico$
{
+location
= /favicon.ico
{
root /usr/share/roundcube/skins/default/images/;
access_log off;
expires max;
root /usr/share/roundcube/skins/default/images/;
access_log off;
expires max;
@@
-31,13
+31,13
@@
location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
location ~ ^/(bin|SQL)/ {
deny all;
}
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;
}
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;
root /usr/share/roundcube;
access_log off;
expires 30d;