issues
search
pioneers
/
website
PiE's public-facing website, built on Jekyll.
https://pioneers.berkeley.edu
Apache License 2.0
5
stars
47
forks
source link
Create test app for staging website
#603
Closed
scottnuma
closed
3 years ago
scottnuma
commented
3 years ago
Create a test application for the staging website that says
hello world!
We'd like to keep the staging website accessible but away from Google and the public, so I added http basic auth and a robots.txt
No impact on the public website
Contain all nginx configuration in /nginx/staging-nginx.conf
I configured the http basic auth with env vars at the start of runtime
Alternatives considered
(1) could add the .htpasswd into the repo
This repo is public; the hashed password is public and crackable
(2) generate the .htpasswd during image build
Messy because then our image contains secrets
Environment variables and dockerfile ARGS are recoverable from the image
hello world!