diff --git a/assets/default.conf b/assets/default.conf index 4ee17bd..388c5f7 100644 --- a/assets/default.conf +++ b/assets/default.conf @@ -193,6 +193,10 @@ $(( end )) # Specify files sent to client if specific file not requested (e.g. # GET www.example.com/). NGINX sends first existing file in the list. index index.html index.htm Default.htm; + + # this fixes cases where nginx would redirect https://whatever/path to + # http://whatever/path/ when behind a TLS terminating proxy. + absolute_redirect off; } $((- if .LastModifiedValue ))