Ikiwiki/NgInx Setup
An ikiwiki setup that worked (once).
I created this site called "www".
server {
root /srv/www/;
index index.html index.htm;
server_name _;
location / {
try_files $uri $uri/ /index.html;
}
location /doc/ {
alias /usr/share/doc/;
autoindex on;
allow 127.0.0.1;
allow ::1;
deny all;
}
location ~ \.cgi$ {
fastcgi_pass unix:/var/run/fcgiwrap.socket;
fastcgi_index ikiwiki.cgi;
fastcgi_intercept_errors on;
include /etc/nginx/fastcgi_params;
}
}