[GH-ISSUE #3441] 403 Error with relativ paths #2300

Closed
opened 2026-02-26 07:34:55 +03:00 by kerem · 2 comments
Owner

Originally created by @Erik-F-G on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3441

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
I'm getting a 403 Forbidden Error when using relativ paths.

Nginx Proxy Manager Version v2.10.4

To Reproduce
Steps to reproduce the behavior:

  1. call:
    https://net.example.com/reports/pdfjs/lib-002/web/viewer.html?File=../../../reportpdf.aspx?riid=cc488525ef64449f824e657576088904#page=2

  2. get displayed 403 Forbidden openresty

log entry [09/Jan/2024:15:53:19 +0000] - - 403 - GET https net.example.com "/reports/pdfjs/lib-002/web/viewer.html?File=../../../reportpdf.aspx?riid=cc488525ef64449f824e657576088904" [Client 93.241.219.16] [Length 171] [Gzip 3.23] [Sent-to 10.254.103.2] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "https://net.example.com/reports/report.aspx?CK=reportGID100"

Expected behavior
relativ pathing should rewrite to: https://net.example.com/reports/pdfjs/lib-002/web/viewer.html?File=https://net.example.com/reports/reportpdf.aspx?riid=cc488525ef64449f824e657576088904#page=2

my expertise in webhosting ist somwhat lacking, If I'm wat the wrong place please redirect me.

Originally created by @Erik-F-G on GitHub (Jan 9, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3441 <!-- Are you in the right place? - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* Don't know that. --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** I'm getting a 403 Forbidden Error when using relativ paths. **Nginx Proxy Manager Version** v2.10.4 **To Reproduce** Steps to reproduce the behavior: 1. call: https://net.example.com/reports/pdfjs/lib-002/web/viewer.html?File=../../../reportpdf.aspx?riid=cc488525ef64449f824e657576088904#page=2 2. get displayed 403 Forbidden openresty log entry [09/Jan/2024:15:53:19 +0000] - - 403 - GET https net.example.com "/reports/pdfjs/lib-002/web/viewer.html?File=../../../reportpdf.aspx?riid=cc488525ef64449f824e657576088904" [Client 93.241.219.16] [Length 171] [Gzip 3.23] [Sent-to 10.254.103.2] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "https://net.example.com/reports/report.aspx?CK=reportGID100" **Expected behavior** relativ pathing should rewrite to: https://net.example.com/reports/pdfjs/lib-002/web/viewer.html?File=https://net.example.com/reports/reportpdf.aspx?riid=cc488525ef64449f824e657576088904#page=2 my expertise in webhosting ist somwhat lacking, If I'm wat the wrong place please redirect me.
kerem 2026-02-26 07:34:55 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@github-actions[bot] commented on GitHub (Jul 15, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2227588936 --> @github-actions[bot] commented on GitHub (Jul 15, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Aug 6, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:3157190075 --> @github-actions[bot] commented on GitHub (Aug 6, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2300
No description provided.