Skip to content

Commit fbf3e2f

Browse files
committed
docs: complete debug endpoint docs
1 parent 7d90978 commit fbf3e2f

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

docs/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,19 +1038,29 @@ curl -s -H "Host: test.nginx-proxy.tld" localhost/nginx-proxy-debug | jq
10381038
```json
10391039
{
10401040
"global": {
1041+
"acme_http_challenge": "true",
10411042
"default_cert_ok": false,
1043+
"default_host": null,
10421044
"default_root_response": "404",
10431045
"enable_access_log": true,
10441046
"enable_debug_endpoint": "true",
1047+
"enable_http2": "true",
1048+
"enable_http3": "false",
1049+
"enable_http_on_missing_cert": "true",
10451050
"enable_ipv6": false,
1051+
"enable_json_logs": false,
10461052
"external_http_port": "80",
10471053
"external_https_port": "443",
1048-
"nginx_proxy_version": "local",
1054+
"hsts": "max-age=31536000",
1055+
"https_method": "redirect",
1056+
"log_format": null,
1057+
"log_format_escape": null,
1058+
"nginx_proxy_version": "1.6.3",
1059+
"resolvers": "127.0.0.11",
10491060
"sha1_upstream_name": false,
10501061
"ssl_policy": "Mozilla-Intermediate",
10511062
"trust_downstream_proxy": true
10521063
},
1053-
"hostname": "test.nginx-proxy.tld",
10541064
"request": {
10551065
"host": "test.nginx-proxy.tld",
10561066
"http2": "",
@@ -1066,10 +1076,12 @@ curl -s -H "Host: test.nginx-proxy.tld" localhost/nginx-proxy-debug | jq
10661076
"cert_ok": false,
10671077
"default": false,
10681078
"enable_debug_endpoint": true,
1079+
"hostname": "test.nginx-proxy.tld",
10691080
"hsts": "max-age=31536000",
10701081
"http2_enabled": true,
10711082
"http3_enabled": false,
10721083
"https_method": "noredirect",
1084+
"is_regexp": false,
10731085
"paths": {
10741086
"/": {
10751087
"dest": "",

nginx.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# nginx-proxy{{ if $.Env.NGINX_PROXY_VERSION }} version : {{ $.Env.NGINX_PROXY_VERSION }}{{ end }}
22

33
{{- /*
4-
* Global values. Values are stored in this map rather than in individual
4+
* Global values. Values are stored in this map rather than in individual
55
* global variables so that the values can be easily passed to embedded
6-
* templates. (Go templates cannot access variables outside of their own
7-
* scope.)
6+
* templates (Go templates cannot access variables outside of their own
7+
* scope) and displayed in the debug endpoint output.
88
*/}}
99
{{- $globals := dict }}
1010
{{- $_ := set $globals "containers" $ }}

0 commit comments

Comments
 (0)