Here is the webserver configuration being used by us. while hosting the API
Here is the config file for our webserver
We use Caddy.