-
Notifications
You must be signed in to change notification settings - Fork 20
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
doesn't work without proxy_redirect #71
Comments
BTW, there is also |
I suggest to add
into Right now I substitute the template file with |
I have same issue with exposing Keycloak with local SSL. For test case, my version: "3.9"
services:
keycloak:
image: "quay.io/keycloak/keycloak:24.0.3"
environment:
KEYCLOAK_ADMIN: "admin"
KEYCLOAK_ADMIN_PASSWORD: "admin"
ports:
- "8080:8080"
networks:
- my-network
command:
- "start-dev"
- "--hostname-url=https://localhost:8443"
- "--hostname-admin-url=https://localhost:8443"
- "--proxy-headers=forwarded"
- "--http-enabled=true"
- "--hostname-debug=true"
ingress-proxy:
image: fsouza/docker-ssl-proxy
environment:
DOMAIN: localhost
SSL_PORT: 8443
TARGET_SCHEME: http
TARGET_HOST: keycloak
TARGET_PORT: 8080
ports:
- "8443:8443"
networks:
- my-network
volumes:
- ./nginx.conf.template:/nginx.conf.template
networks:
my-network: and template file
|
See https://stackoverflow.com/a/24521632/1760643.
I have an issue when redirects lead to
TARGET_HOST
not toDOMAIN
.Solved it:
inside the
block I added
(you need to replace
{TARGET_HOST}
etc with your values)Then
# nginx -s reload
The text was updated successfully, but these errors were encountered: