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
Modification : letabli.cyclocoop.org : pgsql -> mysql.
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
lhc-remorque
/
site.conf
diff --git
a/etc/nginx/site.d/lhc-remorque/site.conf
b/etc/nginx/site.d/lhc-remorque/site.conf
index
e8010a4
..
e6587a5
100644
(file)
--- a/
etc/nginx/site.d/lhc-remorque/site.conf
+++ b/
etc/nginx/site.d/lhc-remorque/site.conf
@@
-3,9
+3,10
@@
server_name
ra.heureux-cyclage.org;
auth_basic "pour demander un compte: admin@heureux-cyclage.org";
ra.heureux-cyclage.org;
auth_basic "pour demander un compte: admin@heureux-cyclage.org";
-auth_basic_user_file /home/www/
pub
/lhc-remorque/.htpasswd;
+auth_basic_user_file /home/www/
data
/lhc-remorque/.htpasswd;
client_body_buffer_size 8k;
client_max_body_size 10m;
client_body_buffer_size 8k;
client_max_body_size 10m;
+error_page 404 /cgi/ikiwiki.cgi?do=create&page=$uri;
location ~ ^/gitweb/static/.+\.(css|png|js)$ {
root /usr/share/;
location ~ ^/gitweb/static/.+\.(css|png|js)$ {
root /usr/share/;
@@
-50,7
+51,7
@@
location ~ ^/gitweb($|/) {
location / {
index index.xhtml;
}
location / {
index index.xhtml;
}
-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;