Skip to content
Snippets Groups Projects
Commit 8a4bf96b authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

fixup! Add fail-safe for http->https redirect

parent b1ea3e45
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ metadata:
# (except for /repository/oai).
ingress.kubernetes.io/ssl-redirect: "false"
# But just to be sure, we are /also/ redirecting here.
ingress.kubernetes.configuration-snippet: |
if ($scheme = "http") {
ingress.kubernetes.io/configuration-snippet: |
if ($scheme != "https") {
set $rewrite_https 1;
}
if ($request_uri ~ "^/repository/oai") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment