Semi-automated Nginx configuration.

Let’s hope it works for everyone!