Remove trailing slash from "/.well-known/acme-challenge" default
This commit is contained in:
parent
c4727f8c95
commit
a8d7b0a58f
2 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@ The following table shows a configuration option's name, type, and the default v
|
|||
|[http-redirect-code](#http-redirect-code)|int|308|
|
||||
|[proxy-buffering](#proxy-buffering)|string|"off"|
|
||||
|[limit-req-status-code](#limit-req-status-code)|int|503|
|
||||
|[no-tls-redirect-locations](#no-tls-redirect-locations)|string|"/.well-known/acme-challenge/"|
|
||||
|[no-tls-redirect-locations](#no-tls-redirect-locations)|string|"/.well-known/acme-challenge"|
|
||||
|
||||
## add-headers
|
||||
|
||||
|
@ -730,4 +730,4 @@ Sets the [status code to return in response to rejected requests](http://nginx.o
|
|||
## no-tls-redirect-locations
|
||||
|
||||
A comma-separated list of locations on which http requests will never get redirected to their https counterpart.
|
||||
Default: "/.well-known/acme-challenge/"
|
||||
Default: "/.well-known/acme-challenge"
|
||||
|
|
|
@ -586,7 +586,7 @@ func NewDefault() Configuration {
|
|||
JaegerSamplerParam: "1",
|
||||
LimitReqStatusCode: 503,
|
||||
SyslogPort: 514,
|
||||
NoTLSRedirectLocations: "/.well-known/acme-challenge/",
|
||||
NoTLSRedirectLocations: "/.well-known/acme-challenge",
|
||||
}
|
||||
|
||||
if glog.V(5) {
|
||||
|
|
Loading…
Reference in a new issue