From 900973063afd75d2a92fd95986a6d422b08a4520 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Thu, 20 Nov 2025 23:20:46 +0530 Subject: [PATCH] no need for explicit mappings as we have folder structure --- nginx.conf | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/nginx.conf b/nginx.conf index 048080e..e009534 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,24 +8,6 @@ server { # Serve the index page by default index index.html; - # Explicit location for /mongo-ops/ - location /mongo-ops/ { - root /usr/share/nginx/html; - index index.html; - } - - # Explicit location for /api/blog/ - location /api/blog/ { - root /usr/share/nginx/html; - index index.html; - } - - # Explicit location for /tutorials/ - location /tutorials/ { - root /usr/share/nginx/html; - index index.html; - } - # Optional: serve static assets (CSS, JS, images) location / { try_files $uri $uri/ /index.html;