We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b080e commit 6d980b3Copy full SHA for 6d980b3
config/nginx.conf
@@ -29,9 +29,9 @@ http {
29
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
30
31
# Forward the cloudfront scheme from upstream
32
- map $http_cloudfront_forwarded_proto $forwarded_scheme {
+ map "$http_cloudfront_forwarded_proto$http_x_forwarded_proto" $forwarded_scheme {
33
default off;
34
- https on;
+ "~*(https)" on;
35
}
36
37
server {
0 commit comments