HTTP

From Things and Stuff Wiki
Revision as of 19:02, 26 June 2012 by Milk (talk | contribs) (moved Web to Httpd, etc.)
Jump to navigation Jump to search


Nginx

Site folder location can vary.

/var/www
  debian
/etc/nginx/html
  arch linux

Site setup

Create 'Server Block' (vhost) config file in

/etc/nginx/sites-available

and later ln -s them in

/etc/nginx/sites-enabled

Enable logging in vhost conf;

error_log /var/log/nginx-vhostnamehere.log error;

Tools

Apache

Other

MediaWiki

MediaWiki:Sidebar

Backup

change vars;

nice -n 19 mysqldump -u $USER --password=$PASSWORD $DATABASE -c
nice -n 19 gzip -9 > wiki-$DATABASE-$(date '+%Y%m%d').sql.gz

Caching

Other CMSs