NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Host static content?

Open
#1,919 21 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Is your feature request related to a problem? Please describe.
Kind of. It's missing functionality, in my opinion.

Describe the solution you'd like
I might just be missing this, but with Nginx you can simply use it as a webserver. Not a proxy, redirect, stream, etc. I don't see how to do that in NPM. I need to be able to specify a domain (say downloads.mycompany.com) and a folder, either local or UNC to serve. Then if I visit downloads.mycompany.com/file1.txt I would be served the file.

Describe alternatives you've considered
Manually adding the following to the config

server {
	listen		  	80;
	server_name   		downloads.mycompany.com;
	root          		c:/webroot/;
	location / {
		alias     		C:/webroot/downloads/;
		autoindex 	on;
	}

Additional context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files or tests are named. Start by tracing how Nginx Proxy Manager creates proxy-host configurations, then determine where a domain and local or UNC folder would be represented and rendered. Done means a configured domain serves files from the selected folder, including file1.txt and directory listing behavior if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, typescript
Domain
full-stack, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.