admin管理员组文章数量:1391756
i'm getting crazy since 2 weeks.
when i try login this url works
but not this
i get 503 and a page with "Application is not available"
when i add oauth-openshift.apps.mydomain to /etc/hosts, works well with invalid ssl
but why ?
i'm using nginx to send all trafic correctly:
server {
listen 8081;
server_name api.mydomain oauth-openshift.apps.mydomain *.apps.mydomain;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass https://192.168.1.198:80;
}
}
server {
listen 8090 ssl;
http2 on;
server_name api.mydomain oauth-openshift.apps.mydomain *.apps.mydomain;
client_max_body_size 0M;
access_log /var/myapps/homecluster/proxynginx/log/openapi-access.log master;
error_log /var/myapps/homecluster/proxynginx/log/openapi-k-error.log;
ssl_certificate /var/myapps/workfolder/acme-certificates/api.mydomain_ecc/fullchain.cer;
ssl_certificate_key /var/myapps/workfolder/acme-certificates/api.mydomain_ecc/api.mydomain.key;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://192.168.1.198:443;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_ssl_verify off;
}
}
my route:
oc get route oauth-openshift -n openshift-authentication -o wide
NAMESPACE NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
openshift-authentication oauth-openshift oauth-openshift.apps.mydomain oauth-openshift 6443 passthrough/Redirect None
openshift-console console console-openshift-console.apps.mydomain console https reencrypt/Redirect None
openshift-console downloads downloads-openshift-console.apps.mydomain downloads http edge/Redirect None
openshift-ingress-canary canary canary-openshift-ingress-canary.apps.mydomain ingress-canary 8443 passthrough/Redirect None
openshift-monitoring alertmanager-main alertmanager-main-openshift-monitoring.apps.mydomain /api alertmanager-main web reencrypt/Redirect None
openshift-monitoring prometheus-k8s prometheus-k8s-openshift-monitoring.apps.mydomain /api prometheus-k8s web reencrypt/Redirect None
openshift-monitoring prometheus-k8s-federate prometheus-k8s-federate-openshift-monitoring.apps.mydomain /federate prometheus-k8s web reencrypt/Redirect None
openshift-monitoring thanos-querier thanos-querier-openshift-monitoring.apps.mydomain /api thanos-querier web reencrypt/Redirect None
please help
本文标签: openshift work httpsconsoleopenshiftconsoleapps but not httpsoauthopenshiftappsStack Overflow
版权声明:本文标题:openshift work https:console-openshift-console.apps but not https:oauth-openshift.apps - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744769259a2624235.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论