nginx config added

This commit is contained in:
Dhanraj
2024-07-07 15:40:07 +05:30
parent a1810175bd
commit a42474deec
2 changed files with 17 additions and 3 deletions

16
.nginx/nginx.conf Normal file
View File

@ -0,0 +1,16 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html =404;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}