whatwg / misc-server

Miscellaneous resources for the servers hosting *.whatwg.org domains
Other
23 stars 16 forks source link

Add config for compression #174

Closed annevk closed 5 months ago

annevk commented 5 months ago

Based on b19abc3.

foolip commented 5 months ago

I'll try deploying this.

foolip commented 5 months ago

These are the deploy steps that I did.

First, add a DNS entry for compression.spec.whatwg.org the same as the other *.spec.whatw.org. (Without this the cert cannot be created.) Then wait for a bit.

On marquee:

git checkout compression
cd debian/marquee
# did not run sudo ./00-nginx-conf 
sudo ./01-certbot
# that didn't seem to really do anything, so manually do some steps from ../common/scripts/certbot DOMAINS
DOMAINS_FILE=DOMAINS
DOMAIN_ARG="$(cat "$DOMAINS_FILE" | awk -vORS=, '{ print }' | sed 's/,$//')"
sudo certbot certonly --agree-tos --webroot -m admin@whatwg.org -d "$DOMAIN_ARG" -w /var/www/http # pick (E)xpand
sudo ./02-nginx-sites
foolip commented 5 months ago

https://compression.spec.whatwg.org/ is available now.