From da2f203bb31dbbd21c281b27b3a6a71531e95f69 Mon Sep 17 00:00:00 2001 From: Naveen Kumar <75178898+itsnaveenk@users.noreply.github.com> Date: Mon, 21 Apr 2025 17:16:38 +0530 Subject: [PATCH] "" --- nginx.conf | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 0cf17bd..0000000 --- a/nginx.conf +++ /dev/null @@ -1,30 +0,0 @@ -user nginx; -worker_processes auto; - -http { - # ...existing code... - - server { - server_name kings.com; - root /var/www/kings-frontend; # Path to your built frontend files - index index.html; - location / { - try_files $uri $uri/ /index.html; - } - # ...existing code... - } - - server { - server_name backend.kings.com; - location / { - proxy_pass http://localhost:5500; # Forward to your Node.js backend - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - # ...existing code... - } - } - - # ...existing code... -}