diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 8cf48d8..a114636 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/inji-web/nginx.conf b/inji-web/nginx.conf index c233295..9f57d5e 100644 --- a/inji-web/nginx.conf +++ b/inji-web/nginx.conf @@ -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;