Giter Site home page Giter Site logo

Comments (6)

meishild avatar meishild commented on May 29, 2024 2

Thank you, I have enforced the X-Forwarded-Port on Synology, and it is now working.

from komga.

gotson avatar gotson commented on May 29, 2024

Do you have a reverse proxy in front?

from komga.

meishild avatar meishild commented on May 29, 2024

No, I can't use nginx as the frontend, because my domain name needs use port,Can you add a configuration to set the external port?

from komga.

gotson avatar gotson commented on May 29, 2024

it works on my tests, so i guess there must be something different in your setup.

Can you clarify how the whole thing is setup on your side, including router / dns etc ?

In the sample you provide, you are using https, how is this configured for Komga if you are not using a reverse proxy ?

from komga.

meishild avatar meishild commented on May 29, 2024

Oh, by the way, I'm using a Synology NAS DS1621+ and have configured a proxy. I have configured it to use the HTTPS port 4333. The content returned after requesting the address is as follows:
https://comic.test.com:4333/opds/v1.2/catalog

<feed xmlns="http://www.w3.org/2005/Atom">
<id>root</id>
<title>Komga OPDS catalog</title>
<updated>2023-10-17T10:20:33.832633579+08:00</updated>
<author>
<name>Komga</name>
<uri>https://github.com/gotson/komga</uri>
</author>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="self" href="https://comic.test.com/opds/v1.2/catalog"/>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="start" href="https://comic.test.com/opds/v1.2/catalog"/>
<link type="application/opensearchdescription+xml" rel="search" href="https://comic.test.com/opds/v1.2/search"/>
<link type="application/opds+json" rel="alternate" href="https://comic.test.com/opds/v2/catalog"/>
<entry>
<title>Keep Reading</title>
<updated>2023-10-17T10:20:33.832792781+08:00</updated>
<id>keepReading</id>
<content>Continue reading your in progress books</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/keep-reading"/>
</entry>
<entry>
<title>On Deck</title>
<updated>2023-10-17T10:20:33.832816262+08:00</updated>
<id>ondeck</id>
<content>Browse what to read next</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/ondeck"/>
</entry>
<entry>
<title>All series</title>
<updated>2023-10-17T10:20:33.832832092+08:00</updated>
<id>allSeries</id>
<content>Browse by series</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/series"/>
</entry>
<entry>
<title>Latest series</title>
<updated>2023-10-17T10:20:33.832846982+08:00</updated>
<id>latestSeries</id>
<content>Browse latest series</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/series/latest"/>
</entry>
<entry>
<title>Latest books</title>
<updated>2023-10-17T10:20:33.832862162+08:00</updated>
<id>latestBooks</id>
<content>Browse latest books</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/books/latest"/>
</entry>
<entry>
<title>All libraries</title>
<updated>2023-10-17T10:20:33.832879742+08:00</updated>
<id>allLibraries</id>
<content>Browse by library</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/libraries"/>
</entry>
<entry>
<title>All collections</title>
<updated>2023-10-17T10:20:33.832897133+08:00</updated>
<id>allCollections</id>
<content>Browse by collection</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/collections"/>
</entry>
<entry>
<title>All read lists</title>
<updated>2023-10-17T10:20:33.832911703+08:00</updated>
<id>allReadLists</id>
<content>Browse by read lists</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/readlists"/>
</entry>
<entry>
<title>All publishers</title>
<updated>2023-10-17T10:20:33.832947473+08:00</updated>
<id>allPublishers</id>
<content>Browse by publishers</content>
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="subsection" href="https://comic.test.com/opds/v1.2/publishers"/>
</entry>
</feed>```

it't not port with href.

from komga.

gotson avatar gotson commented on May 29, 2024

It seems your reverse proxy may not be sending the proper forwarding headers to Komga, to handle the port the request would need to contain a X-Forwarded-Port header.

from komga.

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.