Skip to content

Instantly share code, notes, and snippets.

@zombor
Created January 3, 2013 20:47
Show Gist options
  • Save zombor/4447109 to your computer and use it in GitHub Desktop.
Save zombor/4447109 to your computer and use it in GitHub Desktop.
[Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 (192.168.1.10)
[Thu Jan 03 14:44:26 2013] [error] [client 192.168.1.103] proxy: Error during SSL Handshake with remote server returned by /subsonic/
[Thu Jan 03 14:44:26 2013] [error] proxy: pass request body failed to 192.168.1.10:8443 (192.168.1.10) from 192.168.1.103 ()
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
<IfDefine DEFAULT_VHOST>
# see bug #178966 why this is in here
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 443
# When virtual hosts are enabled, the main host defined in the default
# httpd.conf configuration will go away. We redefine it here so that it is
# still available.
#
# If you disable this vhost by removing -D DEFAULT_VHOST from
# /etc/conf.d/apache2, the first defined virtual host elsewhere will be
# the default.
<VirtualHost *:443>
ServerName home.zombor.net
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
ServerAdmin [email protected]
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# If you change this to something that isn't under /var/www then suexec
# will no longer work.
DocumentRoot "/media/Drobo02/www/home.zombor.net/"
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/ssl/apache2/home.zombor.net.crt
SSLCertificateKeyFile /etc/ssl/apache2/home.zombor.net.key
SSLProxyEngine on
SSLVerifyClient None
<Directory "/media/Drobo02/www/home.zombor.net/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mpm_peruser_module>
ServerEnvironment apache apache
</IfModule>
# Proxy subsonic
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Proxy>
ProxyPass /subsonic https://192.168.1.10:8443/subsonic
ProxyPassReverse /subsonic https://192.168.1.10:8443/subsonic
#ProxyPass /subsonic/ http://localhost:8080/subsonic/
#ProxyPassReverse /subsonic/ http://localhost:8080/subsonic/
ProxyPass /sparkleshare https://localhost:3000
ProxyPassReverse /sparkleshare https://localhost:3000
# Proxy transmission
ProxyPass /transmission http://127.0.0.1:9091/transmission
ProxyPassReverse /transmission http://127.0.0.1:9091/transmission
<Location /transmission>
AuthType Basic
AuthName "MythWeb"
AuthUserFile /etc/apache2/mythweb-passwords
require user jeremybush
Order allow,deny
Allow from all
</Location>
</IfDefine>
# vim: ts=4 filetype=apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment