5 Commits

Author SHA1 Message Date
94d95c6438 chore: publish 1.0.2+2.38.0 release 2026-05-25 17:34:56 +00:00
9c56324c46 feat: pass through SERVER_IGNORE_HIDDEN_FILES env
static-web-server skips dot-prefixed paths by default. Passing this
env through lets operators set SERVER_IGNORE_HIDDEN_FILES=false to
serve e.g. /.well-known/matrix/server for Matrix federation
delegation.

Backwards-compatible: unset means existing behaviour (hidden files
skipped).
2026-05-25 17:34:48 +00:00
39c35c33d8 chore: publish 1.0.1+2.38.0 release 2025-08-31 10:52:13 -07:00
3ed3698ce7 Update README.md, again 2025-08-31 10:51:48 -07:00
2e3ab4c50c Update README.md 2025-08-31 10:50:30 -07:00
3 changed files with 10 additions and 14 deletions

View File

@ -9,6 +9,10 @@ LETS_ENCRYPT_ENV=production
HTTP_SUBDIR=
COMPOSE_FILE="compose.yml"
## Serve dot-prefixed files/directories (e.g. /.well-known/).
## Defaults to true (hidden). Set false to expose them.
#SERVER_IGNORE_HIDDEN_FILES=false
# Single Sign On via Traefik "file provider"
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"

View File

@ -4,20 +4,20 @@ Custom HTML website, served using thttpd
<!-- metadata -->
* **Category**: Apps
* **Status**: 0, work-in-progress
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 2, 3rd party image
* **Status**: 2, stable
* **Image**: [`static-web-server`](https://hub.docker.com/r/joseluisq/static-web-server/), 4, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: N/A
* **Tests**: 0
* **SSO**: 3 (OAuth)
* **SSO**: 1, Optional traefik forward auth
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new custom-html`
3. `abra app new custom-html-tiny`
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app deploy YOURAPPDOMAIN`
@ -26,12 +26,3 @@ Custom HTML website, served using thttpd
abra app YOURAPPDOMAIN cp index.html app:/content
```
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
## Git Based Usage
1. Set up as above, stop at step 4.
2. Deploy `swarm-cronjob` to the host
3. `abra app config`, Uncomment Git lines in configuration, and set variables as appropriate.
4. `abra app deploy YOURAPPDOMAIN`

View File

@ -17,9 +17,10 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
# Redirect from EXTRA_DOMAINS to DOMAIN
- "coop-cloud.${STACK_NAME}.version=1.0.0+2.38.0"
- "coop-cloud.${STACK_NAME}.version=1.0.2+2.38.0"
environment:
- HTTP_SUBDIR
- SERVER_IGNORE_HIDDEN_FILES
volumes:
- content:/var/www/http