From 0745954db655be10f9e4d649a52be79b2411cbdd Mon Sep 17 00:00:00 2001 From: db123-test Date: Mon, 4 May 2026 17:57:13 +0330 Subject: [PATCH] fix: correct nginx config syntax and standardize environment variable names Remove extraneous closing brace from nginx auth-proxy location block that was causing syntax errors. Update documentation to reflect proper UPPER_CASE naming convention for environment variables (AUTH_PROXY_*) and correct the default database path from relative to absolute path. --- docs/deploy.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/deploy.md b/docs/deploy.md index e8f1f69..565d882 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -50,7 +50,6 @@ location = /_auth_proxy { proxy_pass http://auth-proxy:8080/auth; } -} ``` ### 2. Apply the include to sensitive server blocks @@ -83,9 +82,9 @@ nginx -s reload | Variable | Description | Default | |----------|-------------|---------| -| AUTH_proxy_PORT | HTTP listen port | 8080 | -| AUTH_proxy_API_TOKEN | API bearer token | (none) | -| AUTH_proxy_DB_PATH | SQLite database path | ./data/auth-proxy.db | +| AUTH_PROXY_PORT | HTTP listen port | 8080 | +| AUTH_PROXY_API_TOKEN | API bearer token | (none) | +| AUTH_PROXY_DB_PATH | SQLite database path | /data/auth-proxy.db | | DATA_DIR | Data directory | /data | | CLEANUP_INTERVAL | Cleanup interval | 60s |