# nidus configuration via environment variables # # Environment variables override any defaults shown below. # Set them before starting the server. # # Server configuration: # NIDUS_HOST - listen host (default: 0.0.0.0) # NIDUS_PORT - listen port (default: 8080) # NIDUS_BASE_URL - public URL for DAV responses (default: auto-generated from host:port) # # Authentication: # NIDUS_AUTH_REALM - HTTP Basic Auth realm (default: "DAV Server") # # Storage: # NIDUS_DATA_DIR - data directory (default: ./data) # # Logging: # NIDUS_LOG_LEVEL - log level: debug, info, warn, error (default: info) # NIDUS_LOG_FORMAT - log format: text, json (default: text) # Example (uncomment and modify as needed): # export NIDUS_HOST="0.0.0.0" # export NIDUS_PORT="8080" # export NIDUS_BASE_URL="https://dav.example.com" # export NIDUS_DATA_DIR="./data" # export NIDUS_LOG_LEVEL="info" # export NIDUS_LOG_FORMAT="text" # Note: The server does not handle TLS - use a reverse proxy (e.g. Nginx, Caddy, # Traefik) to terminate TLS and forward requests to the server.