From: https://id.koumbit.net/anarcat Date: Fri, 6 Sep 2013 18:44:11 +0000 (-0400) Subject: remove instances from an old doc X-Git-Tag: debian/3.20140102~89^2~21 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9e8b2c4ecb82e85e7223c94d64dd4a3f61fb9717?ds=sidebyside;hp=9bf65aa2427eee7cc9d80de455021d97cf68e648 remove instances from an old doc --- diff --git a/doc/tips/distributed_wikis.mdwn b/doc/tips/distributed_wikis.mdwn index 75a2368b1..29273ada1 100644 --- a/doc/tips/distributed_wikis.mdwn +++ b/doc/tips/distributed_wikis.mdwn @@ -101,9 +101,9 @@ Note that this will also configure CGI so that people can edit the wiki. Note th #### Apache configuration - ServerName reseaulibre.example.com:80 - DocumentRoot /var/www/reseaulibre.example.com - + ServerName mirror.example.com:80 + DocumentRoot /var/www/mirror.example.com + Options Indexes MultiViews ExecCGI AllowOverride None Order allow,deny @@ -116,9 +116,9 @@ Note that this will also configure CGI so that people can edit the wiki. Note th #### Nginx configuration server { - root /var/www/reseaulibre.example.com/; + root /var/www/mirror.example.com/; index index.html index.htm; - server_name reseaulibre.example.com; + server_name mirror.example.com; location / { try_files $uri $uri/ /index.html; @@ -127,7 +127,7 @@ Note that this will also configure CGI so that people can edit the wiki. Note th fastcgi_pass unix:/tmp/fcgi.socket; fastcgi_index ikiwiki.cgi; fastcgi_param SCRIPT_FILENAME /var/www/ikiwiki.cgi; - fastcgi_param DOCUMENT_ROOT /var/www/reseaulibre.example.com; + fastcgi_param DOCUMENT_ROOT /var/www/mirror.example.com; include /etc/nginx/fastcgi_params; } }