mirror of
https://github.com/b3nw/nginx-proxy-manager-mcp.git
synced 2026-05-20 15:35:48 -05:00
- Add NPM_PROXY_DEFAULTS JSON environment variable for default settings - Merge user overrides with base defaults (certificate_id, ssl_forced, etc.) - Update create_proxy_host to use None defaults and pull from config - Update env.example with documentation and examples
15 lines
529 B
Plaintext
15 lines
529 B
Plaintext
# NPM MCP Configuration
|
|
NPM_API_URL=http://localhost:81/api
|
|
NPM_IDENTITY=admin@example.com
|
|
NPM_SECRET=changeme
|
|
|
|
# Server Configuration
|
|
NPM_MCP_HOST=0.0.0.0
|
|
NPM_MCP_PORT=8000
|
|
NPM_MCP_TRANSPORT=stdio # stdio or http
|
|
|
|
# Proxy Host Creation Defaults (JSON)
|
|
# Set default values for create_proxy_host tool parameters
|
|
# Example with wildcard cert: NPM_PROXY_DEFAULTS='{"certificate_id": 24, "ssl_forced": true}'
|
|
# NPM_PROXY_DEFAULTS='{"certificate_id": 0, "ssl_forced": true, "block_exploits": true, "allow_websocket_upgrade": true}'
|