Skip to content

Commit

Permalink
[DSD-5643]Updated configmap.yaml (#228)
Browse files Browse the repository at this point in the history
Signed-off-by: Rakshitha650 <[email protected]>
  • Loading branch information
Rakshitha650 authored Jul 2, 2024
1 parent 609791a commit 5837dd6
Showing 1 changed file with 2 additions and 52 deletions.
54 changes: 2 additions & 52 deletions helm/signup-ui/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,64 +34,14 @@ data:
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
location /v1/esignet {
location /v1/signup {
proxy_pass http://{{ .Values.signup_ui.signup_service_host }}/v1/esignet;
proxy_redirect off;
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_set_header X-Forwarded-Host $server_name;
}
location /.well-known/jwks.json {
proxy_pass http://{{ .Values.signup_ui.signup_service_host }}/v1/esignet/oauth/.well-known/jwks.json;
proxy_redirect off;
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_set_header X-Forwarded-Host $server_name;
types {
text/plain log cer json txt;
}
}
location /.well-known/openid-configuration {
proxy_pass http://{{ .Values.signup_ui.signup_service_host }}/v1/esignet/signup/.well-known/openid-configuration;
proxy_redirect off;
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_set_header X-Forwarded-Host $server_name;
types {
text/plain log cer json txt;
}
}
location /.well-known/oauth-authorization-server {
proxy_pass http://{{ .Values.signup_ui.signup_service_host }}/v1/esignet/oauth/.well-known/oauth-authorization-server;
proxy_redirect off;
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_set_header X-Forwarded-Host $server_name;
types {
text/plain log cer json txt;
}
}
location /.well-known/openid-credential-issuer {
proxy_pass http://{{ .Values.signup_ui.signup_service_host }}/v1/esignet/vci/.well-known/openid-credential-issuer;
proxy_redirect off;
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_set_header X-Forwarded-Host $server_name;
types {
text/plain log cer json txt;
}
}
location / {
try_files $uri $uri/ /index.html;
}
Expand All @@ -117,4 +67,4 @@ data:
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 5837dd6

Please sign in to comment.