Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

proxy configuration in apache2 #25

Open
ecolas opened this Issue · 5 comments

2 participants

@ecolas

Hi !
And a happy new year !

Thank you for the work !

On my raspberrypi, with raspbianstable, the server is running and is OK.

I've got a problem with the proxy :
you propose to use

ProxyPass http://127.0.0.1:8080
RequestHeader set X-Forwarded-Proto "https"

so in apache2 I activated
sudo a2enmod proxy_http

and in /etc/apache2/sites-enabled/default I put :


ServerName localhost
ProxyVia On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:8080/ keepalive=On
ProxyPassReverse / http://localhost:8080/

RequestHeader set X-Forwarded-HTTPS "0"

<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

Then I restart the services, but it's not working : I get invalide adress when I try to login in Firefox Sync.

Thank's.

@posativ
Owner

ServerName localhost

Can you reach Apache from your device? Like telnet rpi.local 80?

@ecolas
@posativ
Owner

And unavailable when it is start: http://raspberrypi:8080/
Not Implemented

If this means, you get a 501 Not Implemented "error", weave-minimal is working correctly.

The URL is no more invalide, but i now have a problem with the captchca : no more image.

There is no CAPTCHA validation in weave-minimal, only if you use the official sync servers (you should see a crack though).

@ecolas
@posativ
Owner

If there are any errors, you can find them in the terminal where you run weave-minimal. Also, Apache certainly logs errors to something like /var/log/apache/error.log (disclaimer: I never used Apache).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.