adding preamble script to phab so that it behaves better with the proxies

This commit is contained in:
Tim Flink 2016-12-02 14:39:54 +00:00
parent a3bcfc15ae
commit 3554c799d6
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<?php
$_SERVER['HTTPS'] = true;

View file

@ -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: