-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Injiver 722 server side verification (#229)
* [INJIVER-722] - add api for server side verification and integrate with ui Signed-off-by: Sreenadh S <[email protected]> * [INJIVER-722] - remove sunbird dependency Signed-off-by: Sreenadh S <[email protected]> * [INJIVER-722] - remove sunbird dependency patches from docker Signed-off-by: Sreenadh S <[email protected]> * [INJIVER-722] - update root API path Signed-off-by: Sreenadh S <[email protected]> * [INJIVER-722] - update vc status condition and api route Signed-off-by: Sreenadh S <[email protected]> --------- Signed-off-by: Sreenadh S <[email protected]>
- Loading branch information
Showing
17 changed files
with
118 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
server { | ||
listen 80; | ||
location / { | ||
http { | ||
server { | ||
listen 80; | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
|
||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
|
||
|
||
location /v1/verify { | ||
proxy_pass http://inji-verify-service.injiverify/v1/verify; | ||
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 / { | ||
try_files $uri $uri/ /index.html; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.