mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
docs: complete debug endpoint docs
This commit is contained in:
parent
7d909782f9
commit
fbf3e2f458
@ -1038,19 +1038,29 @@ curl -s -H "Host: test.nginx-proxy.tld" localhost/nginx-proxy-debug | jq
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"global": {
|
"global": {
|
||||||
|
"acme_http_challenge": "true",
|
||||||
"default_cert_ok": false,
|
"default_cert_ok": false,
|
||||||
|
"default_host": null,
|
||||||
"default_root_response": "404",
|
"default_root_response": "404",
|
||||||
"enable_access_log": true,
|
"enable_access_log": true,
|
||||||
"enable_debug_endpoint": "true",
|
"enable_debug_endpoint": "true",
|
||||||
|
"enable_http2": "true",
|
||||||
|
"enable_http3": "false",
|
||||||
|
"enable_http_on_missing_cert": "true",
|
||||||
"enable_ipv6": false,
|
"enable_ipv6": false,
|
||||||
|
"enable_json_logs": false,
|
||||||
"external_http_port": "80",
|
"external_http_port": "80",
|
||||||
"external_https_port": "443",
|
"external_https_port": "443",
|
||||||
"nginx_proxy_version": "local",
|
"hsts": "max-age=31536000",
|
||||||
|
"https_method": "redirect",
|
||||||
|
"log_format": null,
|
||||||
|
"log_format_escape": null,
|
||||||
|
"nginx_proxy_version": "1.6.3",
|
||||||
|
"resolvers": "127.0.0.11",
|
||||||
"sha1_upstream_name": false,
|
"sha1_upstream_name": false,
|
||||||
"ssl_policy": "Mozilla-Intermediate",
|
"ssl_policy": "Mozilla-Intermediate",
|
||||||
"trust_downstream_proxy": true
|
"trust_downstream_proxy": true
|
||||||
},
|
},
|
||||||
"hostname": "test.nginx-proxy.tld",
|
|
||||||
"request": {
|
"request": {
|
||||||
"host": "test.nginx-proxy.tld",
|
"host": "test.nginx-proxy.tld",
|
||||||
"http2": "",
|
"http2": "",
|
||||||
@ -1066,10 +1076,12 @@ curl -s -H "Host: test.nginx-proxy.tld" localhost/nginx-proxy-debug | jq
|
|||||||
"cert_ok": false,
|
"cert_ok": false,
|
||||||
"default": false,
|
"default": false,
|
||||||
"enable_debug_endpoint": true,
|
"enable_debug_endpoint": true,
|
||||||
|
"hostname": "test.nginx-proxy.tld",
|
||||||
"hsts": "max-age=31536000",
|
"hsts": "max-age=31536000",
|
||||||
"http2_enabled": true,
|
"http2_enabled": true,
|
||||||
"http3_enabled": false,
|
"http3_enabled": false,
|
||||||
"https_method": "noredirect",
|
"https_method": "noredirect",
|
||||||
|
"is_regexp": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"/": {
|
"/": {
|
||||||
"dest": "",
|
"dest": "",
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# nginx-proxy{{ if $.Env.NGINX_PROXY_VERSION }} version : {{ $.Env.NGINX_PROXY_VERSION }}{{ end }}
|
# nginx-proxy{{ if $.Env.NGINX_PROXY_VERSION }} version : {{ $.Env.NGINX_PROXY_VERSION }}{{ end }}
|
||||||
|
|
||||||
{{- /*
|
{{- /*
|
||||||
* Global values. Values are stored in this map rather than in individual
|
* Global values. Values are stored in this map rather than in individual
|
||||||
* global variables so that the values can be easily passed to embedded
|
* global variables so that the values can be easily passed to embedded
|
||||||
* templates. (Go templates cannot access variables outside of their own
|
* templates (Go templates cannot access variables outside of their own
|
||||||
* scope.)
|
* scope) and displayed in the debug endpoint output.
|
||||||
*/}}
|
*/}}
|
||||||
{{- $globals := dict }}
|
{{- $globals := dict }}
|
||||||
{{- $_ := set $globals "containers" $ }}
|
{{- $_ := set $globals "containers" $ }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user