make nginx restart when server is loaded