Skip to content

Multiport config with multiple host names #1140

Closed Answered by arp-mbender
arp-mbender asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out. It's the VIRTUAL_HOST_MULTIPORTS environmental flag with a JSON structure inside.

Example:

    environment:
      LETSENCRYPT_EMAIL: "someuser@mydomain.org"
      LETSENCRYPT_HOST: "service1.mydomain.org, service2.mydomain.org"
      LETSENCRYPT_TEST: false
      VIRTUAL_HOST_MULTIPORTS: |-
        {
          "service1.mydomain.org": { "/": { "port": 8081, "dest": "" } },
          "service2.mydomain.org": { "/": { "port": 8082, "dest": "" } }
        }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arp-mbender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant