26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
# /etc/rustproxy/environment for the packaged service in headless mode.
|
|
# Every --flag of `rust-proxy --headless serve` has a RUST_PROXY_* variable;
|
|
# the same settings can also live in the "headless" section of the JSON file.
|
|
RUST_PROXY_HEADLESS=1
|
|
RUST_PROXY_CONFIG=/etc/rustproxy/config.json
|
|
RUST_PROXY_HEALTH_LISTEN=127.0.0.1:9091
|
|
RUST_PROXY_WATCH=1
|
|
|
|
# Existing certificate files (comma-separated, paired by position) or directories
|
|
#RUST_PROXY_TLS_CERT_FILE=/etc/ssl/app/fullchain.pem
|
|
#RUST_PROXY_TLS_KEY_FILE=/etc/ssl/app/privkey.pem
|
|
#RUST_PROXY_TLS_CERT_DIR=/etc/letsencrypt/live
|
|
|
|
# Automatic DV certificates (Let's Encrypt). Certificates separated by ';'
|
|
RUST_PROXY_ACME_EMAIL=ops@example.com
|
|
RUST_PROXY_ACME_AGREE_TOS=1
|
|
RUST_PROXY_ACME_AUTO=1
|
|
#RUST_PROXY_ACME_DOMAINS=app.example.com,www.app.example.com;api.example.com
|
|
#RUST_PROXY_ACME_STAGING=1
|
|
#RUST_PROXY_ACME_PROVIDER=cloudflare
|
|
#RUST_PROXY_ACME_DNS_CREDENTIALS=/etc/rustproxy/cloudflare.ini
|
|
|
|
# Without a configuration file: one vhost per route (';' between routes)
|
|
#RUST_PROXY_ROUTES=app.example.com,www.app.example.com=http://127.0.0.1:3000;api.example.com=http://127.0.0.1:8080
|
|
#RUST_PROXY_FORCE_HTTPS=1
|