Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward to static site in folder on same computer #786

Closed
torquemada163 opened this issue Dec 21, 2020 · 4 comments
Closed

Forward to static site in folder on same computer #786

torquemada163 opened this issue Dec 21, 2020 · 4 comments

Comments

@torquemada163
Copy link

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!

@eyduh
Copy link

eyduh commented 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:

@torquemada163
Copy link
Author

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

@kellcomnet2
Copy link

Duplicate of #280

@chaptergy
Copy link
Collaborator

Duplicate of #58

@chaptergy chaptergy marked this as a duplicate of #58 May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants