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).
This commit is contained in:
@ -9,6 +9,10 @@ LETS_ENCRYPT_ENV=production
|
|||||||
HTTP_SUBDIR=
|
HTTP_SUBDIR=
|
||||||
COMPOSE_FILE="compose.yml"
|
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"
|
# Single Sign On via Traefik "file provider"
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,7 @@ services:
|
|||||||
- "coop-cloud.${STACK_NAME}.version=1.0.1+2.38.0"
|
- "coop-cloud.${STACK_NAME}.version=1.0.1+2.38.0"
|
||||||
environment:
|
environment:
|
||||||
- HTTP_SUBDIR
|
- HTTP_SUBDIR
|
||||||
|
- SERVER_IGNORE_HIDDEN_FILES
|
||||||
volumes:
|
volumes:
|
||||||
- content:/var/www/http
|
- content:/var/www/http
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user