adding preamble script to phab so that it behaves better with the proxies
This commit is contained in:
parent
a3bcfc15ae
commit
3554c799d6
2 changed files with 6 additions and 0 deletions
3
roles/phabricator/files/phabricator-preable.php
Normal file
3
roles/phabricator/files/phabricator-preable.php
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$_SERVER['HTTPS'] = true;
|
|
@ -111,6 +111,9 @@
|
||||||
notify:
|
notify:
|
||||||
- restart phd
|
- 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
|
- name: copy phabricator custom login plugin
|
||||||
template: src=CustomLoginHandler.php.j2 dest={{ phabroot }}/phabricator/src/extensions/CustomLoginHandler.php owner=apache group=apache mode=0644
|
template: src=CustomLoginHandler.php.j2 dest={{ phabroot }}/phabricator/src/extensions/CustomLoginHandler.php owner=apache group=apache mode=0644
|
||||||
notify:
|
notify:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue