Configure nginx as frontend proxy server.