Skip to content

Commit

Permalink
add x-senfile config documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
codez committed Dec 21, 2016
1 parent 7ff6368 commit bf3c0b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Perform the following steps on a CentOS or the corresponding ones on a different

* `useradd --home-dir /var/www/raar --create-home --user-group raar`
* `usermod -a -G raar <your-ssh-user>`
* `usermod -a -G raar apache`
* `chmod g+w /var/www/raar`
* Add your SSH public key to `/var/www/raar/.ssh/authorized_keys`.
* `yum install gcc glibc-headers rh-ruby22-ruby-devel httpd mod_xsendfile postgresql-devel libxml2-devel libxslt-devel ffmpeg`
Expand Down Expand Up @@ -135,6 +136,8 @@ Perform the following steps on a CentOS or the corresponding ones on a different
AllowOverride None
Allow from all
Options -MultiViews
XSendFile on
XSendFilePath /path/to/archive/home
</Directory>
Include conf.d/raar_env.inc
Expand Down

0 comments on commit bf3c0b8

Please sign in to comment.