Comments (6)
Thank you, I have enforced the X-Forwarded-Port on Synology, and it is now working.
from komga.
Do you have a reverse proxy in front?
from komga.
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.
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.
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.
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)
- Book `fileLastModified` reports UTC timestamps, but values are actually localized HOT 3
- Working around a java.nio.file.NoSuchFileException issue? HOT 2
- Unable to Spin Up Komga Docker on DietPi HOT 4
- Context menu in mobile web UI when reading Epub file. Even better if the reader has built in pop up dictionary.
- Mark a page for auto deletion while reading HOT 1
- Frequent WARNs for Controller Endpoints With No Mappings HOT 1
- There is a problem that Chinese pictures cannot be displayed in epub HOT 2
- Ability to Sort Reading Lists by Earliest Title
- For the Chinese index list, you can use Chinese Pinyin initials HOT 2
- send books by email
- [Question] Regarding the issue of one-shot books within series books directory. HOT 2
- Nginx: Can't read the epub book on HTTPS HOT 4
- Rename a file in edit mode (pencil) HOT 1
- Ability to customize logo within server settings page HOT 1
- Cannot delete files from Web UI HOT 2
- negate filter
- Comics in Epub format cannot be opened when using Nginx reverse proxy Komga on a non-80 port
- Add multiple folders for library HOT 7
- Introduce new env variable for X-Accel-Buffering HOT 2
- On some chapters in webtoon mode it won't go to the next chapter with custom scaling HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komga.