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
/
cyclocamp-www
/
site.conf
diff --git
a/etc/nginx/site.d/cyclocamp-www/site.conf
b/etc/nginx/site.d/cyclocamp-www/site.conf
index
3a9ce61
..
ddd94d5
100644
(file)
--- a/
etc/nginx/site.d/cyclocamp-www/site.conf
+++ b/
etc/nginx/site.d/cyclocamp-www/site.conf
@@
-6,7
+6,7
@@
server_name
location / {
index index.html index.htm index.php;
}
location / {
index index.html index.htm index.php;
}
-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;
@@
-18,7
+18,7
@@
location ~ /\. {
}
location ~ ^/julm/ {
auth_basic "ni dieu, ni maitre, ni moteur";
}
location ~ ^/julm/ {
auth_basic "ni dieu, ni maitre, ni moteur";
- auth_basic_user_file /home/www/
pub
/cyclocamp-www/julm/.htpasswd;
+ auth_basic_user_file /home/www/
data
/cyclocamp-www/julm/.htpasswd;
}
# vim: ft=sh
}
# vim: ft=sh