question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Catch all domains

See original GitHub issue

I am not able to run a Container within Docker Compose that catches all domains. I tried with

...
environment:
      - VIRTUAL_HOST=_
...

or

...
environment:
      - VIRTUAL_HOST=*
...

or removing VIRTUAL_HOST param

But nothing of above catches the domain, instead throws error 503 Service Temporarily Unavailable.

Any idea?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
zorahrelcommented, Aug 24, 2017

@wader thank you! works like this:

version: '2'
services:
  nginx-proxy:
    image: jwilder/nginx-proxy
    container_name: nginx-proxy
    ports:
      - "80:80"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
    environment:
      - DEFAULT_HOST=_
  professional-site:
    image: betalab/professional-site
    container_name: professional-site
    environment:
      - VIRTUAL_HOST=_
0reactions
kfkonradcommented, Jun 22, 2018

I had the same issue, the DEFAULT_HOST behaviour isn’t well documented. I fixed that in pull request #1145

Read more comments on GitHub >

github_iconTop Results From Across the Web

Catch-all Domains Explained
Service Objects uses the term “Catch-All Domain” to refer to a domain that has its mail server(s) configured to not reject email addresses,...
Read more >
What is a Catch-all or Accept-all Email?
A catch-all email account is an address specified for receiving all messages addressed to a domain's incorrect email address.
Read more >
Email Management: How to Set Up a Catch-All
Log in to your Domains Dashboard. · Go to Hosting Tools by clicking the tiles icon at the upper right corner. · Inside...
Read more >
What is a catch-all account? - Corporate Communications, Inc.
A catch-all account is an email address that collects all the mail sent to your domain name not sent to the other email...
Read more >
How to set up a catch-all (wildcard) email address
1. Access "Domain List"-Page from "Account" in the navigation bar at the top · 2. Hover over the envelope-icon next to your domain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found