added mysql model and nginx config