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

SSL passthrough hosts #1479

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

SSL passthrough hosts #1479

wants to merge 7 commits into from

Conversation

chaptergy
Copy link
Collaborator

This PR would resolve #853.

SSL passthrough would be a new type of host where the ssl certificate of the upstream server is used, so no ssl termination is done at the proxy. But the only way this is possible in nginx is streams, using SNI to forward the packet to the right destination. As a stream and the normal proxies using http cannot be on the same port, all https traffic has to go through the stream, which then could forward it internally to the http proxy. As this reduces performance for all hosts, this feature is strictly opt-in. The documentation was updated to add a section about this to the advanced config page.

@chaptergy
Copy link
Collaborator Author

The build fails due to some timeout waiting for the sqlite integration check container to be spun up. But as this relies on a docker image built in the ci, I cannot replicate it locally to see why it is not working. @jc21

@chaptergy chaptergy changed the title SSL passthrough hosts Draft: SSL passthrough hosts Oct 20, 2021
@jc21
Copy link
Member

jc21 commented Oct 24, 2021

When this kind of this happens in CI you can view the artifacts for more info.

The error for sqlite is:

✖  error     alter table `user_permission` add column `ssl_passthrough_hosts` varchar(255) not null - SQLITE_ERROR: Cannot add a NOT NULL column with default value NULL

@chaptergy chaptergy force-pushed the ssl-passthrough-hosts branch 5 times, most recently from cf09468 to 4b60d58 Compare October 25, 2021 10:45
@jc21
Copy link
Member

jc21 commented Oct 25, 2021

This is an automated message from CI:

Docker Image for build 10 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1479

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@chaptergy chaptergy changed the title Draft: SSL passthrough hosts SSL passthrough hosts Oct 25, 2021
@chaptergy
Copy link
Collaborator Author

Finally got the migration working, SQLite has more quirks which are not handled by knex than I thought.

@jc21
Copy link
Member

jc21 commented Nov 8, 2021

This is an automated message from CI:

Docker Image for build 11 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1479

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@jc21
Copy link
Member

jc21 commented Jan 2, 2022

This pr also needs rebasing on develop changes to get past CI problems.

@jc21
Copy link
Member

jc21 commented Jan 2, 2022

This is an automated message from CI:

Docker Image for build 12 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1479

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@jc21
Copy link
Member

jc21 commented Jan 11, 2022

This is an automated message from CI:

Docker Image for build 13 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1479

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@IronTooch
Copy link
Contributor

@chaptergy Just a reminder this PR needs a rebase. I'm really invested in it, so I am hoping it can get merged.

@EduardoOliveira
Copy link

Hi, any update?

@HaasMichael
Copy link

Hi, any update?

I would also love to hear some news on this topic. Nginx Proxy Manager is a great tool and actually right now this feature is the only one I am missing so far. Nice work so far, but can you give us some hints about this feature. Is it still planned to be released an is there probably already a schedule when we can expect a release?

@psmode
Copy link

psmode commented Nov 10, 2022

Hi, any update?

I would also love to hear some news on this topic. Nginx Proxy Manager is a great tool and actually right now this feature is the only one I am missing so far. Nice work so far, but can you give us some hints about this feature. Is it still planned to be released an is there probably already a schedule when we can expect a release?

Same here - I am really looking forward to this. Getting SSL Passthrough working would allow me to more easily migrate onto this, given that part of my environment includes a setup with an existing Letsencrypt key that I must keep operational (that needs to standalone).

@gabuzi gabuzi mentioned this pull request May 28, 2023
@scarolan
Copy link

This would be very helpful for apps that want to terminate their own SSL.

Copy link

github-actions bot commented Mar 3, 2024

PR is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Mar 3, 2024
@scarolan
Copy link

scarolan commented Mar 3, 2024

PR is now considered stale. If you want to keep it open, please comment 👍

What is missing to get this merged?

@github-actions github-actions bot removed the stale label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL Passthrough
7 participants