Permalink
Browse files

Adding additional configuration for Apache as a fronting reverse prox…

…y, since Nginx does not support HTTP 1.1 proxy_pass calls, which breaks partial content requests
  • Loading branch information...
llaxsll committed Aug 5, 2011
1 parent f4d1ffe commit 7308e3e449c38b693f80c60903181378134486ac
Showing with 1,020 additions and 2 deletions.
  1. +5 −2 INSTALL
  2. +15 −0 apache/conf.d/dripls_frontend.conf
  3. +1,000 −0 apache/conf.d/listen_ports.conf
View
@@ -16,10 +16,13 @@ To setup DripLS :
2. Make sure the user running the service has sudo rights
-3. Install nginx
+3. Install nginx or apache to use as a reverse proxy. Note that nginx does not
+ support HTTP/1.1 as a proxy_pass, thus byte range requests would not be
+ properly supported.
4. Copy the configuration sites for nginx from conf/nginx/. Make sure to include
- them in the nginx config.
+ them in the nginx config. If using apache, use conf/apache/ configs and place
+ tem under /etc/apache/conf.d/
5. Execute fab local deploy so that DripLS can setup its components, or make a new
target in the deploy/fabfile for the remote server on which to deploy Dripls
@@ -0,0 +1,15 @@
+<VirtualHost *:80>
+ ErrorLog logs/dripls-error_log
+ CustomLog logs/dripls-access_log common
+
+ RewriteEngine On
+ RewriteOptions Inherit
+ RewriteRule ^/s/(.*)/(.*)$ http://localhost:$1/$2 [P]
+
+</VirtualHost>
+
+<VirtualHost *:*>
+ ErrorLog logs/dripls-error_log
+ ProxyPass / http://localhost:8080/
+ CustomLog logs/dripls-access_log common
+</VirtualHost>
Oops, something went wrong.

0 comments on commit 7308e3e

Please sign in to comment.