Remove trailing slash from "/.well-known/acme-challenge" default

This commit is contained in:
Alvaro Aleman 2018-03-18 21:24:54 +01:00
parent c4727f8c95
commit a8d7b0a58f
No known key found for this signature in database
GPG key ID: D9D78F2AEF6D1EDF
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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) {