NGINX SSL Certificate based on URI [duplicate]

Solution 1:

If you have separate TLS certificates, each of those requires a separate server block. You can use the include directive to make configuration snippets with directives that you may use in multiple places in your overall configuration.