Dxcufgb's Workshop

Admin Page on a Public Address

WIPWork in progress: may be very buggy and can change a lot between versions.

The page is served on ADMIN_HOST (all addresses) with a self-signed certificate for this machine's names and addresses. ADMIN_PUBLIC_URL's host is added; --renew-admin-cert makes a new one.

A real certificate

Set ADMIN_TLS_CERT/ADMIN_TLS_KEY to the certificate and key.

Behind a reverse proxy

Put a reverse proxy in front and set:

  • ADMIN_TLS=off,
  • ADMIN_HOST=127.0.0.1,
  • ADMIN_TRUST_PROXY=1, so the client address behind X-Forwarded-For is the one locked out, and the cookie is Secure behind X-Forwarded-Proto: https,
  • the public name in ADMIN_HOSTS or ADMIN_PUBLIC_URL.

All of these are listed in the Configuration Reference.

This page mirrors the World Backup to Git wiki on GitHub.