No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
analytics minor clean up Mar 7, 2018
assets
ci Bump Go to 1.10.2 May 31, 2018
config
handlers
lang
middleware/redirects
resolver
vendor add missing dep Mar 8, 2018
.gitignore Merge branch 'develop' into feature/a-b-handler Nov 25, 2016
Dockerfile
Dockerfile.concourse update base image Mar 28, 2018
LICENSE.md
Makefile Remove REDIRECTS_ENABLED flag from config Nov 28, 2017
README.md
dp-frontend-router.nomad
main.go

README.md

dp-frontend-router

Configuration

Environment variable Default Description
BIND_ADDR :20000 The host and port to bind to.
BABBAGE_URL https://www.ons.gov.uk The URL of the babbage instance to use.
RENDERER_URL http://localhost:20010 The URL of dp-frontend-renderer.
RESOLVER_URL http://localhost:20020 The URL of dp-content-resolver.
DOWNLOADER_URL http://localhost:23400 The URL of dp-file-downloader.
ANALYTICS_SQS_URL SQS URL for search analytics; leave blank to disable
AWS_ACCESS_KEY_ID Your AWS access key ID (required for SQS)
AWS_SECRET_ACCESS_KEY Your AWS secret access key
AWS_REGION AWS region (normally eu-west-1)
REDIRECT_SECRET secret Pre-shared key for signing/encrypting redirect data

Licence

Copyright ©‎ 2016, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.