GithubHelp home page GithubHelp logo

Comments (8)

OzzieIsaacs avatar OzzieIsaacs commented on April 26, 2024 1

@jschuck could you please confirm that you can search now?
Do you still have logout/login problems? -> redirects to Hostname instead of hostname/calibre?
(got this too with apache server, where as search worked before)

from calibre-web.

jgillman avatar jgillman commented on April 26, 2024

@bombcheck Are you having trouble logging out as well? Looks like that was your original title.

I'm also using a reverse proxy and can't search or logout!

from calibre-web.

bombcheck avatar bombcheck commented on April 26, 2024

@jgillman No that works fine. Make sure to set the "X-Script-Name"-Header in your webserver config.
If the subdir is for example http://stuff.domain.de/books then you have to set (example for apache vhost for stuff.domain.de): RequestHeader set X-Script-Name /books

from calibre-web.

jgillman avatar jgillman commented on April 26, 2024

This is what the block looks like in my nginx.conf:

location /books {
  proxy_bind $server_addr;
  proxy_pass http://127.0.0.1:26657;
  proxy_set_header Host $http_host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Scheme $scheme;
  proxy_set_header X-Script-Name /books;
}

from calibre-web.

jschuck avatar jschuck commented on April 26, 2024

Same search issue here.
Proxy sits in /calibre/

Normal search goes to /search and fails. If i change it in the browsers addressbar so that it starts with /calibre/search it shows the result.

Advanced Search goes to /calibre/search as expected.

from calibre-web.

jschuck avatar jschuck commented on April 26, 2024

That was fast. Yes i can now search and i don't have logout problems.

I now noticed another slightly inconvenient bug with a re-login after a search. I will open another issue for it, since it's not directly related to this one.

from calibre-web.

bombcheck avatar bombcheck commented on April 26, 2024

Works great now, thank you!!

from calibre-web.

jgillman avatar jgillman commented on April 26, 2024

Fixed for me too, thanks @OzzieIsaacs!

from calibre-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.