Skip to content

Commit f2ec806

Browse files
authored
Merge pull request #355 from ldroege/master
Set $real_scheme variable in nginx config - and more flexible
2 parents 2b76dc0 + 31448b7 commit f2ec806

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: templates/nginx/vhost.conf

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ server {
2525
error_log /var/log/nginx/bigbluebutton.error.log;
2626
{% endif %}
2727

28+
{% if bbb_nginx_listen_https %}
29+
set $real_scheme "https";
30+
{% else %}
31+
set $real_scheme $scheme;
32+
{% endif %}
33+
2834
location / {
2935
root {{ bbb_nginx_root | regex_replace('\\/$', '') }};
3036
index index.html index.htm;

0 commit comments

Comments
 (0)