Added nginx configuration to resources
Changed base path and url in model