Skip to content

Commit

Permalink
Merge pull request #3866 from AmiableAnil/release-5.4.0-lern
Browse files Browse the repository at this point in the history
Issue #LR-122 chore: updated the nginx-public-ingress config
  • Loading branch information
santhosh-tg authored Jul 6, 2023
2 parents f895de4 + 3a6e697 commit 1382ef1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kubernetes/helm_charts/core/nginx-public-ingress/values.j2
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ proxyconfig: |-
ignore_invalid_headers off; #pass through headers from Jenkins which are considered invalid by Nginx server.
resolver {{ kube_dns_ip }} valid=30s;

# Mobile Devices Refresh token Endpoints
location ~* ^/auth/v1/refresh/token {
rewrite ^/auth/(.*) /auth/$1 break;
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 5;
proxy_send_timeout 60;
proxy_read_timeout 70;
proxy_http_version 1.1;
proxy_set_header X-Request-ID $sb_request_id;
proxy_pass http://kong;
}
# Admin API Endpoints for sunbird realm fpr forgot password flow
location ~ /auth/admin/realms/sunbird/users/ {
rewrite ^/auth/(.*) /auth/$1 break;
Expand Down

0 comments on commit 1382ef1

Please sign in to comment.