summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/phabricator/files/phabricator-preable.php3
-rw-r--r--roles/phabricator/tasks/main.yml3
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/phabricator/files/phabricator-preable.php b/roles/phabricator/files/phabricator-preable.php
new file mode 100644
index 000000000..22a8de77e
--- /dev/null
+++ b/roles/phabricator/files/phabricator-preable.php
@@ -0,0 +1,3 @@
+<?php
+
+$_SERVER['HTTPS'] = true;
diff --git a/roles/phabricator/tasks/main.yml b/roles/phabricator/tasks/main.yml
index 58510b53d..5ca90c466 100644
--- a/roles/phabricator/tasks/main.yml
+++ b/roles/phabricator/tasks/main.yml
@@ -111,6 +111,9 @@
notify:
- restart phd
+- name: copy phabricator preamble
+ file: src=phabricator-preamble.php dest={{ phabroot }}/phabricator/support/preamble.php owner=apache group=apache mode=0644
+
- name: copy phabricator custom login plugin
template: src=CustomLoginHandler.php.j2 dest={{ phabroot }}/phabricator/src/extensions/CustomLoginHandler.php owner=apache group=apache mode=0644
notify: