0

I am developing an web app using Docker which utilises wildcard domains.

It's easy enough to create integration tests for the main domain accessing it over localhost.

My first thought was to use docker-compose's extra_hosts setting, and while I could manually specify a few subdomains, it doesn't support proper wildcard domains.

What are the best practices for testing wildcard domains locally, and is there a simple solution for Docker?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.