fixing nginx configuration