Add multi-user and nginx support (closes #4 and #5)