From 84bad0c89d878e3a829a9e3381ff4c193032ce7f Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Sat, 26 Apr 2025 15:56:40 +0530 Subject: [PATCH] feat: serve frontend --- nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 2e57dc53..77282e65 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,8 +2,11 @@ server { listen 80; server_name _; + root /var/www/maxun; + index index.html; + + # Serve the frontend location / { - root /usr/share/nginx/html; try_files $uri $uri/ /index.html; }