From 1cbdf0cdb896186ef8071d5c70322c4b85ebee70 Mon Sep 17 00:00:00 2001 From: DongHyeonWon Date: Thu, 27 Jun 2024 14:17:21 +0900 Subject: [PATCH] hotfix: hide port --- nginx/nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 527e9ab9..58441eb5 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,11 +1,12 @@ server { listen 80; + root /usr/share/nginx/html; + index index.html index.html; + server_name waggle-pet.com; location / { - root /usr/share/nginx/html; - index index.html index.html; try_files $uri $uri/ /index.html; - + proxy_pass http://localhost:3001; } }