diff --git a/index.html b/index.html
new file mode 100644
index 0000000..b8c8302
--- /dev/null
+++ b/index.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ Health Check
+
+
+
+
Success
+
The application is up and running.
+
+
+
\ No newline at end of file
diff --git a/nginx.conf b/nginx.conf
index a44fbc8..ef42839 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -16,11 +16,18 @@ http {
server {
listen 80;
-
+ location /health-check {
+ alias /usr/share/nginx/html/index.html;
+ }
location / {
root /usr/share/nginx/html;
index index.html index.htm;
add_header Access-Control-Allow-Origin *;
+ add_header Access-Control-Allow-Credentials false;
+ add_header Access-Control-Allow-Headers *;
+ add_header Access-Control-Allow-Methods ALL;
+ add_header Access-Control-Expose-Headers *;
+
}
}
}