codekitchen / dinghy-http-proxy

the http proxy container that dinghy uses
MIT License
125 stars 43 forks source link

Redirect HTTPS requests for unknown subdomains to the index.html page #54

Closed ericparton closed 4 years ago

ericparton commented 4 years ago

When we switched over to https for local development, we noticed that requests for unknown subdomains would occasionally get redirected to random applications or to a plain "not found" page. This PR will redirect these requests to the index.html if a wildcard certificate for the specified top level domain is available, mirroring the functionality for http requests for unknown subdomains.

codekitchen commented 4 years ago

Good find, thanks 👍

I'll push out a new release soon as I'm not aware of anything else coming through.