X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-remorque%2Fsite.conf;h=e6587a56184bd2ef3618cbbc0ab6eac2ba6ecaec;hb=3ea23a03cf85542ecc1134e25e0a56cab82139f8;hp=959b8cdd82604d3f108fd5da189ad2b6bd52b9af;hpb=de3ffef0e46f7d9064a21eab0e73693975f3c182;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/lhc-remorque/site.conf b/etc/nginx/site.d/lhc-remorque/site.conf index 959b8cd..e6587a5 100644 --- a/etc/nginx/site.d/lhc-remorque/site.conf +++ b/etc/nginx/site.d/lhc-remorque/site.conf @@ -6,6 +6,7 @@ auth_basic "pour demander un compte: admin@heureux-cyclage.org"; auth_basic_user_file /home/www/data/lhc-remorque/.htpasswd; 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/; @@ -50,7 +51,7 @@ location ~ ^/gitweb($|/) { 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;