Skip to content

proxy configuration in apache2 #25

@ecolas

Description

@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
<Location /sync>
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 :

<VirtualHost *:80>
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions