Big pipe server/Services/nginx
From Whitespace (Hackerspace Gent)
< Big pipe server | Services
Revision as of 02:13, 17 August 2011 by Jeroen De Dauw (Talk | contribs)
- Config at /etc/nginx/
- Virtualhost in sites-enabled/0x20-default
- simulate Apache UserDir behaviour so users can use ~/public_html to serve files:
# simulate Apache UserDir behaviour.
# http://wiki.nginx.org/UserDir
location ~ ^/~(.+?)(/.*)?$ {
alias /home/$1/public_html$2;
index index.html index.htm;
autoindex on;
}
- SSL uses CAcert (www.cacert.org). SSL config in sites-enabled/0x20-default