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
/
caldavzap
/
site.conf
diff --git
a/etc/nginx/site.d/caldavzap/site.conf
b/etc/nginx/site.d/caldavzap/site.conf
index
38cbe1f
..
91a382e
100644
(file)
--- a/
etc/nginx/site.d/caldavzap/site.conf
+++ b/
etc/nginx/site.d/caldavzap/site.conf
@@
-1,9
+1,11
@@
-server_name caldavzap.heureux-cyclage.org;
+server_name
+ caldavzap.heureux-cyclage.org
+ caldavzap.cyclocoop.org;
client_body_buffer_size 1024k;
client_max_body_size 10m;
client_body_buffer_size 1024k;
client_max_body_size 10m;
-location ~* ^/davical/htdocs/caldav.php(|/.*)$ {
+location ~* ^/davical/htdocs/caldav
\
.php(|/.*)$ {
root /usr/share/;
keepalive_timeout 10;
include /etc/nginx/conf.d/fastcgi.conf;
root /usr/share/;
keepalive_timeout 10;
include /etc/nginx/conf.d/fastcgi.conf;
@@
-39,13
+41,13
@@
location ~* ^/davical/htdocs/caldav.php(|/.*)$ {
fastcgi_pass unix:/run/php5/fpm/davical;
}
fastcgi_pass unix:/run/php5/fpm/davical;
}
-location ~* ^/davical/htdocs/.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^/davical/htdocs/.+
\
.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
root /usr/share/;
access_log off;
expires 30d;
log_not_found off;
}
root /usr/share/;
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)$ {
access_log off;
expires 30d;
log_not_found off;
access_log off;
expires 30d;
log_not_found off;