Stirling-PDF
Stirling-PDF copied to clipboard
[Bug]: HTTP Error 405 when connected via nginx-reverse-proxy
Installation Method
Docker
The Problem
I have installed Stirling-PDF via docker-compose. It runs behind an OPNsense with nginx-reverse-proxy. The configuration corresponds to that of my other containers, which are publicly accessible. When uploading files via the page accessed via the domain, the error HTTP 405 appears. The stack trace and the log are empty - no error recognizable. The files are also not uploaded. The upload does not end. If I access Stirling PDF locally via the IP address, everything works as intended. It is not clear to me what I need to change in order to obtain error-free functionality via the domian via reverse proxy.
Version of Stirling-PDF
0.41.0
Last Working Version of Stirling-PDF
this is my first version
Page Where the Problem Occurred
https://my.fqdn.de/
Docker Configuration
version: '3.3'
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:latest
ports:
- '46000:8080'
volumes:
- ./StirlingPDF/trainingData:/usr/share/tessdata # Required for extra OCR languages
- ./StirlingPDF/extraConfigs:/configs
- ./StirlingPDF/customFiles:/customFiles/
- ./StirlingPDF/logs:/logs/
- ./StirlingPDF/pipeline:/pipeline/
Relevant Log Output
-none-
Additional Information
Browsers Affected
Chrome, Firefox
No Duplicate of the Issue
- [x] I have verified that there are no existing issues raised related to my problem.