mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
docs(compose): drop internal-behavior note about auto scheme/cookie handling
Some checks failed
Build Docker image / build ${{ matrix.platform }} (digest-linux-amd64, docker-amd64, linux/amd64, ubuntu-24.04) (push) Has been cancelled
Build Docker image / build ${{ matrix.platform }} (digest-linux-arm64, docker-arm64, linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Run linters / lint (push) Has been cancelled
Build Pip package / build (push) Has been cancelled
Release State / release-state (push) Has been cancelled
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Has been cancelled
Run tests / docker_tests (push) Has been cancelled
Build Docker image / publish multiarch tags (push) Has been cancelled
Some checks failed
Build Docker image / build ${{ matrix.platform }} (digest-linux-amd64, docker-amd64, linux/amd64, ubuntu-24.04) (push) Has been cancelled
Build Docker image / build ${{ matrix.platform }} (digest-linux-arm64, docker-arm64, linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Run linters / lint (push) Has been cancelled
Build Pip package / build (push) Has been cancelled
Release State / release-state (push) Has been cancelled
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Has been cancelled
Run tests / docker_tests (push) Has been cancelled
Build Docker image / publish multiarch tags (push) Has been cancelled
The https://-BASE_URL -> X-Forwarded-Proto trust + Secure cookies is automatic; users don't need to know the internal mechanism, so remove the comments that documented it.
This commit is contained in:
parent
6a570212b6
commit
2dce0e6069
@ -22,9 +22,6 @@ services:
|
||||
# - ADMIN_PASSWORD=SomeSecretPassword
|
||||
- BASE_URL=${BASE_URL:-http://archivebox.localhost:8000} # public URL used to build admin/web/api/snapshot links
|
||||
- SERVER_SECURITY_MODE=${SERVER_SECURITY_MODE:-safe-subdomains-fullreplay} # safe-onedomain-nojsreplay if you can't do wildcard DNS *.your.domain
|
||||
# An https:// BASE_URL means HTTPS end-to-end (behind the ingress below or
|
||||
# your own proxy): ArchiveBox then trusts X-Forwarded-Proto and marks auth
|
||||
# cookies Secure automatically — no extra flag.
|
||||
- PUBLIC_ADD_VIEW=False # set to True to allow anonymous users to submit new URLs to archive
|
||||
# - PUID=911 # set to your host user's UID & GID if you encounter permissions issues
|
||||
# - PGID=911 # UID/GIDs lower than 500 may clash with system uids and are not recommended
|
||||
@ -82,8 +79,8 @@ services:
|
||||
# needs wildcard DNS + TLS for *.your.domain. Pick ONE of the two ingress options
|
||||
# below by activating its profile (e.g. put COMPOSE_PROFILES=https or =tunnel in a
|
||||
# .env file next to this one, then `docker compose up -d`). Both want:
|
||||
# BASE_URL=https://archive.example.com (the https:// scheme is what flips on
|
||||
# SERVER_SECURITY_MODE=safe-subdomains-fullreplay proxy-scheme trust + Secure cookies)
|
||||
# BASE_URL=https://archive.example.com
|
||||
# SERVER_SECURITY_MODE=safe-subdomains-fullreplay
|
||||
|
||||
### Option A — Cloudflare Tunnel (no public IP / behind NAT, e.g. home/NAS).
|
||||
# Cloudflare's edge terminates TLS and resolves *.your.domain to a SINGLE tunnel;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user