Configuration to use Nginx as reverse proxy.

Hi,

I'm trying to make nginx's configuration as reverse proxy more easy. The idea is to have something like e.g.:

services.nginx.reverseProxy = [{ servername = "your.server"; proxy = "http://127.0.0.1:3000"; certificate = "/root/ssl/your.crt"; key = "/root/ssl/private/your.key"; }  ];

Please let me know what you think about it and if you're interested in merging it into nixos.

Many thanks,
Thomas