docker file and ngnix file

This commit is contained in:
hamid zarghami
2024-12-24 09:48:36 +03:30
parent 97f7fa5113
commit b765671323
2 changed files with 43 additions and 0 deletions
+19
View File
@@ -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;
}
}