Skip to content

Commit

Permalink
Injiweb 1213 release (#223)
Browse files Browse the repository at this point in the history
* [INJIWEB-1213] Fixed docker compose to have one nginx

Signed-off-by: Gurpreet41082 <[email protected]>

* [INJIWEB-1213] Fixed typo error in configmap file

Signed-off-by: Gurpreet41082 <[email protected]>

* [INJIWEB-1213] Updated readme file and the mimoto image to 0.15

Signed-off-by: Gurpreet41082 <[email protected]>

* [INJIWEB-1213] Removed platform from the dockerfile

Signed-off-by: Gurpreet41082 <[email protected]>

* [INJIWEB-1202] Fixed credential template issue

Signed-off-by: Gurpreet41082 <[email protected]>

---------

Signed-off-by: Gurpreet41082 <[email protected]>
  • Loading branch information
Gurpreet41082 authored Dec 19, 2024
1 parent a77bbeb commit c8e30e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ services:
- ./config/mimoto-default.properties:/home/mosip/mimoto-default.properties
- ./config/mimoto-issuers-config.json:/home/mosip/mimoto-issuers-config.json
- ./config/mimoto-trusted-verifiers.json:/home/mosip/mimoto-trusted-verifiers.json
- ./config/credential-template.html:/home/mosip/credential-template.html
depends_on:
- mimoto-service
6 changes: 6 additions & 0 deletions inji-web/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ server {
try_files $uri $uri/ /index.html;
}

# Serve credential-template.html from /home/mosip when accessing /credential-template.html
location = /credential-template.html {
root /home/mosip; # Serve from /home/mosip specifically for this file
index credential-template.html; # Serve this file as the index
}

# Serve files from /home/mosip with autoindex enabled
location ~* \.json$ {
root /home/mosip;
Expand Down

0 comments on commit c8e30e8

Please sign in to comment.