Manage your servers with freedom and control. Learn more about the new Forge

Vapor: API Gateway 2.0 now supports wildcard custom domain names

Amazon just announced that API Gateway 2.0 now supports wildcard custom domain names.

With this new feature, you can now combine a wildcard domain to an API Gateway 2.0 directly in your vapor.yml configuration file:

1environments:
2 production:
3 gateway-version: 2
4 domain: '*.example.com'

You can read more about custom domains in our documention.

Keep reading