Skip to content

Commit 974eaa4

Browse files
authored
Fixed HTTPS for reverse proxy environments
1 parent 825f22e commit 974eaa4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.docker/os2forms/apache/000-default.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<Directory /opt/drupal/vendor/simplesamlphp/simplesamlphp/www>
1515
Require all granted
1616
</Directory>
17-
17+
18+
# Enable HTTPS if reverve proxy is using HTTPS
19+
SetEnvIf X-Forwarded-Proto https HTTPS=on
1820

1921
# PHP Custom settings
2022
php_admin_value open_basedir /opt/drupal:/usr/share/php

0 commit comments

Comments
 (0)