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.
This commit is contained in:
@@ -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 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user