Closed tnation14 closed 7 years ago
Ah, I was unaware of this tactic and figured you were just going to associate the subdomain with the DNS record.
Have you tried manually configuring a CloudFront distribution to mimic this reverse proxy pattern (using https://geotrellis.readthedocs.io as the origin with custom headers)? Seem like it could be possible and might allow us to avoid deploying a second instance of Nginx.
Updated
This PR makes the GeoTrellis documentation accessible from https://docs.geotrellis.io by adding an nginx container that reverse-proxies requests to https://geotrellis.readthedocs.io. I followed the method outlined at http://docs.readthedocs.io/en/latest/alternate_domains.html#cname-ssl.
Notable changes
gtdocs-nginx
container that reverse proxies all requests to readthedocsgtdocs-nginx
Testing
see https://docs.geotrellis.io
Run
scripts/infra plan
, ensure no changes are necessary.Fixes #72