Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- # Change this to the domain which points to your host.
- ServerName phabricator.quinoacomputing.com
- # Change this to the path where you put 'phabricator' when you checked it
- # out from GitHub when following the Installation Guide.
- #
- # Make sure you include "/webroot" at the end!
- DocumentRoot /usr/share/phabricator/webroot
- # Redirect to the HTTPS virtual host below
- RewriteEngine on
- ReWriteCond %{SERVER_PORT} !^443$
- RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
- </VirtualHost>
- <VirtualHost *:443>
- # Change this to the domain which points to your host.
- ServerName phabricator.quinoacomputing.com
- # Change this to the path where you put 'phabricator' when you checked it
- # out from GitHub when following the Installation Guide.
- #
- # Make sure you include "/webroot" at the end!
- DocumentRoot /usr/share/phabricator/webroot
- RewriteEngine on
- RewriteRule ^/rsrc/(.*) - [L,QSA]
- RewriteRule ^/favicon.ico - [L,QSA]
- RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
- SSLEngine on
- SSLCertificateFile /etc/ssl/localcerts/quinoacomputing.crt
- SSLCertificateKeyFile /etc/ssl/localcerts/quinoacomputing.key
- <Directory "/usr/share/phabricator/webroot">
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement