mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #110] Proxying to container with self signed https access #99
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#99
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?
Originally created by @tiagombrito on GitHub (Mar 25, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/110
Hello,
I'm trying to create a docker-compose stack in portainer, with nginx-proxy-manager and keycloak, among other apps.
When accessing keycloak via https://hostname:8443 I'm able to access the application, since the container has a self signed cert in it.
Yet i'm not able to do it via npm, I create a proxy host with domain "keycloak.domain", https scheme, pointing to container:8443, and when accessing https://keycloak.domain i get an error (This site can’t provide a secure connection), yet i'm still able to access it via http.
The configuration file shows nginx is listening on port 80 instead of 443, probably because i didn't use letsencrypt (I'm just experimenting with https, and don't want the domain visible outside the local network), nor did i give npm the cert files, since i was expecting to use the ones in the keycloak container.
Is this not possible, or am i doing it wrong?
EDIT: Creating a custom certificate and adding it to npm and the proxy host seems to work just fine.
Thank you, and i hope that was coherent.
@jc21 commented on GitHub (Mar 27, 2019):
What you're experiencing is expected behaviour. The edge server (NPM) is not configured for SSL termination so you have to use
http- no matter what the upstream server uses. It's functioning as a proxy, just not a secure one until you create or add certificates.@tiagombrito commented on GitHub (Mar 27, 2019):
Thank you.
Since I have my solution, I'll close the issue.
@goodvandro commented on GitHub (Apr 7, 2023):
@tiagombrito How did you solve your problem? Can you share the steps with me?