mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[PR #3789] [CLOSED] Add SSL to streams #3759
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#3759
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/3789
Author: @jbowring
Created: 6/2/2024
Status: ❌ Closed
Base:
develop← Head:stream-ssl📝 Commits (9)
b8b80d3Add SSL certificate to TCP streams if certificate in database0cf7ed9Add SSL tab to stream UI1d3d5beAdd SSL column to streams table UI7307515Add certificate to streams database modelae1255dFix whitespace in nginx stream config207dbb2Fix stream update not persistingd3526deMerge branch 'NginxProxyManager:develop' into stream-ssle4c1013Merge branch 'NginxProxyManager:develop' into stream-ssla262ad1Merge branch 'develop' into stream-ssl📊 Changes
19 files changed (+569 additions, -151 deletions)
View changed files
📝
backend/internal/stream.js(+97 -20)➕
backend/migrations/20240427161436_stream_ssl.js(+38 -0)📝
backend/models/stream.js(+17 -5)📝
backend/schema/components/stream-object.json(+16 -0)📝
backend/schema/paths/nginx/streams/post.json(+9 -1)📝
backend/schema/paths/nginx/streams/streamID/put.json(+20 -56)📝
backend/templates/_certificates.conf(+1 -0)➕
backend/templates/_certificates_stream.conf(+13 -0)📝
backend/templates/stream.conf(+8 -12)➕
docker/rootfs/etc/nginx/conf.d/include/ssl-cache-stream.conf(+2 -0)➕
docker/rootfs/etc/nginx/conf.d/include/ssl-cache.conf(+2 -0)📝
docker/rootfs/etc/nginx/conf.d/include/ssl-ciphers.conf(+0 -3)📝
frontend/js/app/nginx/stream/form.ejs(+176 -37)📝
frontend/js/app/nginx/stream/form.js(+154 -13)📝
frontend/js/app/nginx/stream/list/item.ejs(+7 -1)📝
frontend/js/app/nginx/stream/list/main.ejs(+1 -0)📝
frontend/js/app/nginx/stream/main.js(+1 -1)📝
frontend/js/i18n/messages.json(+3 -1)📝
frontend/js/models/stream.js(+4 -1)📄 Description
Support for SSL for streams with TCP forwarding enabled. Uses the same web interface as creating a new Proxy Host for adding SSL.
Details
An Nginx stream config created with this SSL feature looks like this:
Nginx doesn't allow
streamandhttpblocks to share an SSL cache, so all streams have a separate SSL cache defined inssl-cache-stream.conf:Use a DNS Challenge is forced as streams cannot perform HTTP authentication for issuing certificates.
Streams do not have domain names associated with them in the database or displayed in the UI, as streams are not proxied by hostname but exclusively by port.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.