So I came across Junebug today, which is a slick wiki engine that harnesses the power of Camping and gives you a nice-looking wiki that's contained in one directory.
Here's what I did to get it setup and running and proxied through nginx:
Install Junebug (you'll need Ruby Gems for this to work):
$ sudo gem install junebug
Create the wiki:
$ junebug wiki
Edit the config.yml file's
urlandfeedparameters to the location we'll proxy it to, sayhttp://example.com/wikiEdit your nginx.conf and add the following entries:
upstream junebug {
server 127.0.0.1:3301;
}
location /wiki {
proxy_pass http://mongrel-kmw/wiki;
proxy_redirect off;
proxy_set_header Host $host;
}
location /wiki/static {
root /home/kmarsh;
}
Fire it up!:
./wiki start(this daemonizes automatically)Restart nginx (send it HUP
kill -HUP [nginx pid])Visit your wiki at the URL you specified above, maybe http://example.com/wiki
