[GH-ISSUE #1858] Custom headers show default openresty page #1361

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

Originally created by @trentwiles on GitHub (Feb 15, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1858

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've added some custom headers to display my site's Tor hidden service:

location / {
     add_header Onion-location "http://example.onion$request_uri" always;
}

When I run this, the onion location header shows up, but my proxied content doesn't appear and the default openresty welcome screen is shown.

Nginx Proxy Manager Version

v2.9.15

Expected behavior
My proxied site should appear along with the onion header.

Operating System

Raspberry Pi

Originally created by @trentwiles on GitHub (Feb 15, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1858 **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've added some custom headers to display my site's Tor hidden service: ``` location / { add_header Onion-location "http://example.onion$request_uri" always; } ``` When I run this, the onion location header shows up, but my proxied content doesn't appear and the default openresty welcome screen is shown. **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> v2.9.15 **Expected behavior** My proxied site should appear along with the onion header. **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Raspberry Pi
kerem 2026-02-26 07:30:40 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@github-actions[bot] commented on GitHub (Feb 24, 2024):

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

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

@github-actions[bot] commented on GitHub (Apr 9, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2788107370 --> @github-actions[bot] commented on GitHub (Apr 9, 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#1361
No description provided.