From ArchWiki
Revision as of 16:30, 5 December 2011 by Giddie (talk | contribs) (Work in Progress...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MindTouch is an enterprise wiki and collaborative portal. For more information, see the Wikipedia article, and the SourceForge project.


Feel free to follow along on the MindTouch Installation Guide. However, these installation instructions assume you'll be using Nginx instead of Apache.

  • Install MySQL.
  • Install Nginx and php-fpm.
  • Compile the mindtouch AUR package and install the resulting mindtouch and mindtouch-setup packages.
  • The mindtouch package added a file that can be used to simplify the nginx configuration, but you'll need to create a link to it in your nginx configuration directory. As root:
$ cd /etc/nginx/conf
$ ln -s /usr/share/mindtouch/nginx-rewrites mindtouch-rewrites
  • Add the following configuration to nginx, modifying to suit your needs:
server {
  listen       80;
  server_name  mindtouch;

  location / {
    root /usr/share/webapps/mindtouch;
    index index.php;
    include mindtouch-rewrites;

  location ~ \.php$ {
    root          /usr/share/webapps/mindtouch;
    fastcgi_pass  unix:/var/run/php-fpm/php-fpm.sock;
    fastcgi_buffers 256 4k;
    fastcgi_buffer_size 128k;
    include       fastcgi.conf;

  location /@api/ {
    proxy_pass http://localhost:8081/;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Host $host:$server_port;
Note: The fastcgi buffer configuration is necessary, or certain MindTouch pages will cause a Bad Gateway error because the returned HTTP headers are too large for the default buffer size.

More Resources