mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-23 22:18:36 +01:00
fix for greenlight CSRF error ActionController::InvalidAuthenticityToken, due to wrong requesting url protocol
https://github.com/bigbluebutton/greenlight/issues/997
This commit is contained in:
parent
95dd18199a
commit
ec3b5df112
@ -9,6 +9,7 @@ location /b {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Ssl on;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -17,6 +18,7 @@ location /b/cable {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Ssl on;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
@ -175,9 +175,6 @@ REPORT_ISSUE_URL=https://github.com/bigbluebutton/greenlight/issues/new
|
|||||||
# RAILS_LOG_REMOTE_PORT=9999
|
# RAILS_LOG_REMOTE_PORT=9999
|
||||||
# RAILS_LOG_REMOTE_TAG=greenlight
|
# RAILS_LOG_REMOTE_TAG=greenlight
|
||||||
#
|
#
|
||||||
# Force SSL
|
|
||||||
#
|
|
||||||
# ENABLE_SSL=true
|
|
||||||
|
|
||||||
# Specify the default registration to be used by Greenlight until an administrator sets the
|
# Specify the default registration to be used by Greenlight until an administrator sets the
|
||||||
# registration method
|
# registration method
|
||||||
|
Loading…
Reference in New Issue
Block a user