mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[PR #3115] [CLOSED] add forward path prefix to prefix services in a sub path. #3657
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3657
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3115
Author: @jerry-yuan
Created: 8/12/2023
Status: ❌ Closed
Base:
develop← Head:add_forward_path_prefix📝 Commits (2)
2772489add forward path prefix to prefix services in a sub path.ff4a6e3fix eslint problem on migrations📊 Changes
13 files changed (+82 additions, -5 deletions)
View changed files
➕
backend/migrations/20230811144605_forward_path.js(+42 -0)📝
backend/schema/endpoints/proxy-hosts.json(+15 -0)📝
backend/templates/_location.conf(+1 -1)📝
backend/templates/proxy_host.conf(+1 -0)📝
docker/rootfs/etc/nginx/conf.d/default.conf(+1 -0)📝
docker/rootfs/etc/nginx/conf.d/include/proxy.conf(+1 -1)📝
frontend/js/app/nginx/proxy/form.ejs(+6 -0)📝
frontend/js/app/nginx/proxy/form.js(+4 -1)📝
frontend/js/app/nginx/proxy/list/item.ejs(+1 -1)📝
frontend/js/app/nginx/proxy/location-item.ejs(+6 -0)📝
frontend/js/i18n/messages.json(+1 -0)📝
frontend/js/models/proxy-host-location.js(+2 -1)📝
frontend/js/models/proxy-host.js(+1 -0)📄 Description
I have opened an issue #3110 that I need to add some path prefix when forwarding requests, in order to proxy a sub dir into a independent domain.
I added a field on proxy host and proxy host's location configurations, which will be the path prefix of proxy_pass.
I am a Java backend developer. This is the first time I am modifying a project that uses Node.js as the backend implementation. If there are any inappropriate modifications, please feel free to correct my work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.