Move app files out to app dirs
This commit is contained in:
parent
54e6599a1b
commit
3808c37ac6
5 changed files with 4 additions and 4 deletions
19
files/phabricator/phabricator-vhost.conf
Normal file
19
files/phabricator/phabricator-vhost.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
NameVirtualHost *:80
|
||||
|
||||
<Directory "/srv">
|
||||
Options All
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName {{domain}}
|
||||
DocumentRoot /srv/www/facebook/phabricator/webroot
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/rsrc/(.*) - [L,QSA]
|
||||
RewriteRule ^/favicon.ico - [L,QSA]
|
||||
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
|
||||
|
||||
SetEnv PHABRICATOR_ENV custom/myconfig
|
||||
</VirtualHost>
|
18
files/phabricator/phabricator.conf.php
Normal file
18
files/phabricator/phabricator.conf.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'phabricator.base-uri' => 'http://{{domain}}/',
|
||||
|
||||
'mysql.host' => 'localhost',
|
||||
'mysql.user' => 'root',
|
||||
|
||||
'metamta.default-address' => 'phabricator@{{domain}}',
|
||||
'metamta.domain' => '{{domain}}',
|
||||
|
||||
'phabricator.timezone' => 'America/New_York',
|
||||
'pygments.enabled' => true,
|
||||
|
||||
// NOTE: Check default.conf.php for detailed explanations of all the
|
||||
// configuration options, including these.
|
||||
|
||||
) + phabricator_read_config_file('production');
|
Loading…
Add table
Add a link
Reference in a new issue