[BUGFIX] Clean up when running the real-life system with nginx