Configure nginx.