[GH-ISSUE #786] Forward to static site in folder on same computer #665

Closed
opened 2026-02-26 06:33:54 +03:00 by kerem · 4 comments
Owner

Originally created by @torquemada163 on GitHub (Dec 21, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/786

Can I configure NPM to redirect my domain name to a folder with static HTML files on the same host as the NPM containers?
If this is possible, how?

Thanks!

Originally created by @torquemada163 on GitHub (Dec 21, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/786 Can I configure NPM to redirect my domain name to a folder with static HTML files on the same host as the NPM containers? If this is possible, how? Thanks!
kerem 2026-02-26 06:33:54 +03:00
Author
Owner

@eyduh commented on GitHub (Dec 23, 2020):

I'm no docker nor webdev pro myself but I would guess that you could serve the static html files with some webserver, like nginx or lighttpd (outside of docker) on a non-standard port then use nginx-proxy-manager to redirect to 127.0.0.1:PORT or possibly serverhostname:PORT

I'll be trying something similar in the next few weeks and will report back if I manage to get it to work. c:

<!-- gh-comment-id:750339326 --> @eyduh commented on GitHub (Dec 23, 2020): I'm no docker nor webdev pro myself but I would guess that you could serve the static html files with some webserver, like nginx or lighttpd (outside of docker) on a non-standard port then use nginx-proxy-manager to redirect to 127.0.0.1:PORT or possibly serverhostname:PORT I'll be trying something similar in the next few weeks and will report back if I manage to get it to work. c:
Author
Owner

@torquemada163 commented on GitHub (Dec 24, 2020):

I don't want to have multiple Nginx instances on the same machine....... I would like to get by with one, if possible...

<!-- gh-comment-id:750875323 --> @torquemada163 commented on GitHub (Dec 24, 2020): I don't want to have multiple Nginx instances on the same machine....... I would like to get by with one, if possible...
Author
Owner

@kellcomnet2 commented on GitHub (Jan 1, 2021):

Duplicate of #280

<!-- gh-comment-id:753323183 --> @kellcomnet2 commented on GitHub (Jan 1, 2021): Duplicate of #280
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/58

<!-- gh-comment-id:840118678 --> @chaptergy commented on GitHub (May 12, 2021): Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/58
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#665
No description provided.