Skip to content

Commit

Permalink
Use $remote_scheme to correctly set the HTTP protocol the client is u…
Browse files Browse the repository at this point in the history
…sing
  • Loading branch information
rooftopcellist committed Dec 13, 2023
1 parent db800aa commit 36fe868
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/eda/templates/eda.configmap.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ data:
worker_connections 1024;
}
http {
map $http_x_forwarded_proto $remote_scheme {
default $http_x_forwarded_proto;
'' $scheme;
}

include mime.types;
types {
application/manifest+json webmanifest;
Expand Down

0 comments on commit 36fe868

Please sign in to comment.