diff --git a/bbb-lti/lti.nginx b/bbb-lti/lti.nginx
index 747d2a46bec1c4f5217504fca2f6ca1b4431b652..afe416e71e9f86a90c26f5ee41c6a0671d733c3a 100644
--- a/bbb-lti/lti.nginx
+++ b/bbb-lti/lti.nginx
@@ -4,7 +4,7 @@
            proxy_pass         http://127.0.0.1:8080;
            proxy_redirect     default;
            proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
-           proxy_set_header   X-Forwarded-Proto $http_x_forwarded_proto;
+           proxy_set_header   X-Forwarded-Proto $scheme;
 
            # Allow 30M uploaded presentation document.
            client_max_body_size       30m;