+server_name remorque.heureux-cyclage.org;
+
+client_body_buffer_size 8k;
+client_max_body_size 10m;
+location / {
+ try_files $uri $uri/index.xhtml = 404;
+ }
+location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+ access_log off;
+ expires 30d;
+ log_not_found off;
+ }
+location ~ /\. {
+ access_log off;
+ deny all;
+ log_not_found off;
+ }
+location /cgi/ikiwiki.cgi {
+ include /etc/nginx/conf.d/fastcgi.conf;
+ fastcgi_index cgi/ikiwiki.cgi;
+ fastcgi_pass unix:/run/spawn-fcgi/lhc-remorque;
+ }
+
+# vim: ft=sh