A utility proxy server for the AAS WorldWide Telescope data backend.
Перейти к файлу
Peter Williams 359bd854c7
Merge pull request #3 from pkgw/follow-redirects
Rework the proxy to follow redirects
2021-03-23 15:20:25 -04:00
Dockerfile Rework the backend architecture to follow redirects. 2021-03-22 23:20:19 -04:00
LICENSE Initial import. 2020-03-27 09:35:26 -04:00
README.md README.md: add Azure Pipelines status badge [skip ci] [ci skip] 2020-04-22 09:46:59 -04:00
azure-pipelines.yml azure-pipelines.yml: also tag image as "latest" 2020-03-27 10:05:56 -04:00
entrypoint.sh Rework the backend architecture to follow redirects. 2021-03-22 23:20:19 -04:00
fetcher.py fetcher.py: enable basic logging 2021-03-23 15:16:54 -04:00
squid.conf Rework the backend architecture to follow redirects. 2021-03-22 23:20:19 -04:00

README.md

Build Status

WWT Squid Proxy Server

This repository contains setup for a backend component of the AAS WorldWide Telescope web services.

In particular, the core WWT operates a web proxy to allow the interactive web client to fetch data from remote servers in the cases when the web browser would prohibit direct access, because of:

  • CORS restrictions
  • insecure content (http://) being loaded from a secure origin (https://)

This web proxy is implemented as a Docker container running a specially configured version of the Squid proxy server. This proxy is itself reverse-proxied through an Azure Application Gateway so that everything can be served from the core domain.

Building / Installation

This isn't really software that "install" yourself. The output artifact of this repository is a Docker image that you obtain with the command:

docker build -t aasworldwidetelescope/proxy:latest .

The main purpose of this pipeline is to automate the build and publication of this image through the azure-pipelines.yml file. The image ultimately emerges as aasworldwidetelescope/proxy. A webhook is configured there to update the running service on Azure.

Contributions

Contributions are welcome! See the WorldWide Telescope contributors guide for applicable information. We use a standard workflow with issues and pull requests. All participants in this repository and the WWT communities must abide by the WWT Code of Conduct.

Legalities

The files in this repository are copyright the .NET Foundation, licensed under the MIT License.

Acknowledgments

wwt-squid-proxy is part of the AAS WorldWide Telescope system, a .NET Foundation project managed by the non-profit American Astronomical Society (AAS). Work on WWT has been supported by the AAS, the US National Science Foundation (grants 1550701 and 1642446), the Gordon and Betty Moore Foundation, and Microsoft.