Skip to content

Commit

Permalink
add a redirect for /
Browse files Browse the repository at this point in the history
  • Loading branch information
paultag committed Apr 22, 2016
1 parent c3c6f0d commit 695b763
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/opensource.org-api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
SSLCertificateFile /etc/ssl/certs/opensourceorg.pem
SSLCertificateKeyFile /etc/ssl/private/opensourceorg.key

RewriteEngine On
RewriteRule ^/$ https://github.com/OpenSourceOrg/api/blob/master/doc/endpoints.md [L,R=301]

ProxyPreserveHost On
ProxyPass / http://0.0.0.0:8000/
ProxyPassReverse / http://0.0.0.0:8000/
Expand Down

0 comments on commit 695b763

Please sign in to comment.