From ccc5dce57cd431994344ecc16b6c7db4fbbe2d57 Mon Sep 17 00:00:00 2001 From: kenlight-bu Date: Sun, 15 Sep 2024 13:42:18 -0400 Subject: [PATCH] Another change to see if this works --- code/nginx.conf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/nginx.conf b/code/nginx.conf index 267645d9f..c5acc318b 100644 --- a/code/nginx.conf +++ b/code/nginx.conf @@ -3,12 +3,11 @@ events {} http { server { - listen 8080; # Use the environment variable PORT - root /usr/share/nginx/html; - index index.html; - + listen $PORT default_server; + location / { - try_files $uri /index.html; + root /usr/share/nginx/html; + index index.html; } } }