mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Possible auth problem when served at non-root path (i.e. http://my.dom/some/prefix/<syncserver>) #18

Closed rfk closed 10 years ago

rfk commented 10 years ago

If we have nginx setup to reverse proxy http://public_url/someprefix => http://localhost:5000/ then it seems to cause auth problems. I suspect it's due to bad URL reconstruction in the python server, need to figure out the appropriate config magic to make this work and then document it.

rfk commented 10 years ago

Not specific to nginx actually, so I'm changing the bug title appropriately. You can easily set up a similar failing scenario under apache.

rfk commented 10 years ago

This should be fixed now by a combination of https://github.com/mozilla-services/mozservices/commit/825cae97e99d1128a07ad8c73dcdc5764562b536 and https://github.com/mozilla-services/syncserver/commit/02d3cfdc3b7ff0cc9226381fb3192c1dfcd87934