From 4ba62b39f9fbb2bbf5ce057b7f4c77974d338a22 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Mon, 23 Feb 2026 14:22:04 +0330 Subject: [PATCH] add nginix config --- nginx.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..c7189fb --- /dev/null +++ b/nginx.conf @@ -0,0 +1,19 @@ +server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html =404; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + + location /health { + return 200; + } +} \ No newline at end of file