20 lines
520 B
Plaintext
20 lines
520 B
Plaintext
server {
|
|
root /home/anarcat/public_html/wiki.reseaulibre.ca/;
|
|
index index.html index.htm;
|
|
|
|
# Make site accessible from http://localhost/
|
|
server_name wiki.reseaulibre.ca;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /ikiwiki.cgi {
|
|
fastcgi_pass unix:/tmp/fcgi.socket;
|
|
fastcgi_index ikiwiki.cgi;
|
|
fastcgi_param SCRIPT_FILENAME /home/anarcat/public_html/ikiwiki.cgi;
|
|
fastcgi_param DOCUMENT_ROOT /home/anarcat/public_html/wiki.reseaulibre.ca;
|
|
include /etc/nginx/fastcgi_params;
|
|
}
|
|
}
|